Questions tagged as 'html'

1
answer

Saving PHP codes saved in MySQL

What is the best way to save small PHP code in the MySQL database so that it could be viewed, along with text saved in HTML in the database?     
asked by 21.03.2018 / 12:48
2
answers

How do I display a new INPUT according to the user's previous answer?

I received something off the page: <INPUT type="radio" name="por_fora" value="SIM"> <INPUT type="radio" name="por_fora" value="NAO"> Depending on the answer, yes or no, I would like to introduce a new question before submit...
asked by 17.03.2018 / 13:09
1
answer

Put variable within input type="date"

How can I put this variable inside input var data = new Date(); var dataCurrente = new Date(); if (data > dataCurrente) { alert("Data maior que atual"); } In case the new date() has to be the date I put in...
asked by 28.03.2018 / 19:02
1
answer

onclick "confirm" does not work cancel button

I have an onclick confirm in my code that, if ok, it sends a variable to a specific page. If he canceled ... he should cancel the operation. But even if you click cancel, it is sending the variable to the page. Follow the code: <a...
asked by 27.03.2018 / 14:26
1
answer

Hide div on specific pages with jquery [closed]

Good morning, I have a problem to hide a div only on a specific page, in case it has a php file with include_once that includes header pages, but it has a specific page that does not need a div that is inside the header and I want hide, how c...
asked by 11.04.2018 / 15:51
4
answers

Hide or display HTML table row with Jquery

I have a SELECT like this: <select id="filtro-uf" name="filtro-uf" class="form-control"> <option value=" ">Selecione</option> <option value='AC'>Acre (AC)</option> <option value='AL'>Alagoas (AL)...
asked by 13.04.2018 / 17:45
2
answers

How to do when to click "send" change the final text Form

I want the result of the content typed in the "Text" field to automatically exit from a predefined text within the "Post Text" field. Home Ex: when typing exemplo in the "Text" field and clicking send, the result will automatically appear...
asked by 23.06.2018 / 19:14
2
answers

How to change H1 using Javascript?

I have a product gallery and the side there are some buttons which are the categories of these products (buttons: cabinet, monitors, mouse, chairs, etc.), when I click on this category, a toggle only activates the products of that specific cat...
asked by 22.06.2018 / 18:18
3
answers

How to check each character in an array? JavaScript

Person, I have this code: const arrayOne = ['jean','geleia','gean','ea games', 'e1']; function buscar(){ arrayOne.forEach(function(valor){ const teste1 = document.getElementById('valorInput').value; if(teste1 ===...
asked by 25.02.2018 / 17:57
1
answer

Table that shows only a few columns of the database

I have a system that: On one page has a search filter that when filled leads to another page with a table that only shows the records that meet the constraints required by the filter. The only way I know of making a table that shows the...
asked by 26.02.2018 / 15:11