Questions tagged as 'html'

1
answer

Doubt about UPDATE (Edit.php)

I am developing a process registration system for the City Hall of my city and I came up with a question. Is it possible, after registering the data, to edit the data only once? Only one, after that, is "uneditable". Follow the edit code,...
asked by 01.03.2018 / 17:23
3
answers

Run Ajax script automatically

I have a problem with a college project. I would like to know how to run this Ajax script automatically: <script type="text/javascript"> function buscaCep() { var cep = $( "#cep" ).val(); var infos = { 'iCep': cep...
asked by 16.04.2018 / 17:18
1
answer

Table in html with misaligned columns

I have this table: As you can see, the columns are not aligned with the lines, and I do not know why, and I do not know how to fix it, since I smp this way and never had that problem. Follow the table code: <table> <tr>...
asked by 19.02.2018 / 22:29
1
answer

Problems with NaN return in JavaScript

Personal in this code of a simple calculator (not yet completed), my variable resultado when displayed always shows NaN , I wish they could help me to correct this problem, I'm not finding the is not a number .           ...
asked by 23.04.2018 / 22:32
3
answers

execute JQuery calculation for each corresponding div

I'm creating a star rating system but I can not get the jquery to apply the correct Width for each span in the example below. I have three DIVs and each of the 3 divs inside them has <span class="ratingAverage" data-average="1.2"></sp...
asked by 21.09.2018 / 23:58
4
answers

how to calculate the number of days with input of type date? [duplicate]

My question is: I have two input of type date. What I want to do in Javascript is to calculate the amount of days from the first to the second, ie if the person put dateEnter = day 06/02/2018 in the first input and dataSaida = 06/06/2018...
asked by 02.06.2018 / 06:47
2
answers

at and followed quotation marks in a string (exiting & quot; or # 39; in View)

I'm trying to put the following text in a string, but I can not ... when there is no error in the double quotation marks of the at ... to getting crazy. Can anyone help me?   , {       "@type": "ListItem",       "position": 2,       "item": {...
asked by 08.05.2018 / 19:48
2
answers

How to create a script to automate link exchange in HTML?

I'm performing maintenance on a system that has hundreds of links on one page as follows: <li> Revista alvo <a href="http://exemplo.com"> http://exemplo.com </a> </li> Note that there is text out of the a tag....
asked by 14.05.2018 / 23:22
1
answer

Create title for two columns

I have this code to create the following tables side by side: echo '<div><table border="1"><tr><td>'; echo '<div><table border="1" style="width:150px"> <td style="width:20px; text-align: center"><h5...
asked by 03.05.2018 / 10:10
1
answer

How to calculate pixel height with PHP

I have a screen that generates a report with a limit amount of tables that can not be broken. I have to paginate this report. How to calculate the height of the generated pixels?     
asked by 09.08.2017 / 21:28