Questions tagged as 'html'

2
answers

Add numbers within input in sequence when clicking

I have this input <input type="text" readonly="readonly" class="form-control form-sm input_digitacao"> And I have this script $(".numeros_ligacao li a").click(function(){ digito = $(this).html(); $(".input_digitacao").val(di...
asked by 26.03.2018 / 22:31
2
answers

(javascript) Get value from a very complex html structure

I'll try to be quite objective: How do I get the value inside a tag that is within 200 million other childs? (assuming I can not make changes to the code, because it's the code for a site that I need to filter to collect specific data):...
asked by 11.02.2018 / 19:12
4
answers

How to create an empty / null value in select dynamically?

I have a select of cities that is populated dynamically with the query returned in the databases, however when the values in the option is played the default value empty some prevents select an empty line. See: % empty%: Selec...
asked by 24.05.2018 / 14:09
4
answers

how do I put the background in full screen, CSS?

The image does not take the entire screen, I've already tried to put width and height , but continued the same way the image appears on the page. HTML <!DOCTYPE html> <html> <head> <meta name="viewport" c...
asked by 15.05.2018 / 21:26
1
answer

What error am I making when I put the third item "address" in the code

<?php include"conectar.php"; /// codigo para fazer leitura do banco de dados /// incluindo ?php echo $cpf ? entre <> na tabela onde ficará o registro $query="select nome, cpf from associados "; $stmt=mysq...
asked by 26.05.2018 / 04:13
2
answers

Keep data in the PHP form textbox | HTML

I have a form, but when I submit the form, all the data in the textboxes disappear, I want to know how to keep the data in the textboxes after submitting, so the user does not have to enter the data all over again. <form method="post"&g...
asked by 14.05.2018 / 17:47
2
answers

How to disable an option when creating it with jquery

vetorAux = ["CARROS","Ferrari","Porshe"]; vetorAux.forEach(function(item){ $('select').append('<option>' + item + '</option>'); }); <!DOCTYPE html> <html> <script src="https://ajax.googleapis.com/ajax/lib...
asked by 04.05.2018 / 03:50
1
answer

How to change color in html

I'm trying to change a snippet of HTML code to red, but the code below does not work. I thought the color="red" would work. Note: this is html embedded in javascript. When I remove the excerpt from the color, that is, color="red", the code runs...
asked by 14.05.2018 / 21:21
1
answer

Form does not reach the database

I created a form in HTML / PHP, it concludes and I decided to connect the form to my database by XAMPP and everything ran without presenting any errors, until then I tried to send a form and saved it in the BD, but in the others attempts did not...
asked by 03.07.2018 / 21:52
1
answer

$ () Ajax event does not work

I have a problem with the $().click() event of Ajax. I'm trying to send an HTML table to convert to JSON and so send it to PHP. But when I click the button to pick up the event, nothing happens. Even an error occurs on the console. The...
asked by 04.07.2018 / 15:17