Questions tagged as 'html'

2
answers

How to solve problems in calling files in HTML?

I have a folder structure where I have the following architecture page php arquivos.php tpl arquivos.tpl(html) style arquivos.css But I have a problem calling files in tpl's ... when I use the path <...
asked by 25.04.2014 / 18:13
6
answers

I want to align my menu to the center

#menu ul a:hover{ background: #0186ba; background: -moz-linear-gradient(#04acec, #0186ba); background: -webkit-gradient(linear, left top, left bottom, from(#04acec), to(#0186ba)); background: -webkit-linear-gradient(#04ac...
asked by 23.04.2014 / 13:11
2
answers

problem converting text to lower case

I have created a function that converts the text to lowercase inside the input, the problem and that when I inform an input with value, and having to change something the cursor jumps to the end. Does anyone know how to solve this? My code:...
asked by 23.02.2016 / 19:47
7
answers

Contact Form

I have this code to check if it is a numeric value and I already tried that the maximum value of digits were 9. I also tried with! = or == What I've tried: Option 1 //php verif phone if(isset($_POST["phone"])){ if (strlen($phone...
asked by 21.03.2014 / 21:49
2
answers

How to change the data type in the $ .post request in jQuery?

var envio = $.post("processamento/busca.php", { unidade: $("#unidade").val() }) I have this request, I would like to change the datatype to json, in ajax has a datatype parameter, but I do not know how to use it in $ ....
asked by 25.02.2016 / 20:57
2
answers

Function to clean html

How to do a function that wipes HTML? I have a field that comes from a WS and I need, before displaying on the page, to clean the HTML. They sent me this: String result = Regex.Replace(htmlDocument, @"<[^>]*>", String.Empty); I...
asked by 27.03.2014 / 20:07
2
answers

Redeem service result http in another function

controllerPrincipalService.getResultado(id).then(function(dados) { // limpando o retorno var p = data.search("{")-1; var res = data.substring(76); var f = res.search('<'); dados = data.substring(p,...
asked by 02.04.2014 / 15:44
1
answer

NaN of a csv file in d3.js

var margin = {top: 20, right: 10, bottom: 100, left: 40}; var width = 700 - margin.right - margin.left; var height = 500 - margin.top - margin.bottom; // o g para agrupar objetos juntos, agrupar as barras...
asked by 04.01.2019 / 21:29
1
answer

Diving away when taking content

I have a simple div: <div class="quadrant"> <h1>X</h1> </div> //CSS .quadrant { background-color: #E7E7E7; margin: auto; height: 40%; width: 20%; } When I have some element inside this div, as in the case...
asked by 07.12.2018 / 16:02
3
answers

My JavaScript to change visibility does not work

I wrote a form with these elements: <div> <label for="radio_pessoa_fisica" id="label_cpf_req"> <input name="pessoa" id="radio_pessoa_fisica" type="radio" value="fisica" required> Pessoa Física </lab...
asked by 27.11.2018 / 20:22