Questions tagged as 'html'

2
answers

Load the contents of a TD into another TD ADVPL ASP

I have a question in a code that uses advpl (Microsiga Protheus) plus HTML. I need in the html part, that the content of a TD is captured at the time of writing, and is assigned in another TD. Here is the screenshot plus the code snippet:...
asked by 15.03.2018 / 14:32
2
answers

How do I send data from a html table to POST form?

I have a form that contains a list inside a table tag, how do I send data from this table to the POST of the form itself? Without using hidden inputs. If possible in pure Javascript, but if there is no way it could be in JQuery.     
asked by 08.06.2016 / 18:09
2
answers

jQuery with Internet Explorer

I have this code that works perfectly in Firefox, but I can not get it to work in IE. The user can only choose 10 units in total and when he reaches 10 he displays a alert() . Does anyone have an idea or a better solution? Here th...
asked by 01.06.2016 / 13:19
2
answers

How to call php in html and validate a form?

I'm validating a form where the user will fill in the fields: Name Surname Email Phone Message Through these, I want to validate in case the user does not type in these fields a message appears saying that it is necessary to fill...
asked by 03.06.2016 / 16:47
3
answers

Pagination in PHP

I made the pagination available in the code below, following an example here of the stack, but it does not work as I need it to: display a maximum of 5 records per page and thus create the other pages. This code counts all the records of the tab...
asked by 12.06.2017 / 18:26
1
answer

How to find content without specific tag

I'm in a situation where I need to find content without a specific tag. Of course, any content is surrounded by a tag, even if it is body or html . With the example it becomes clearer what I need: <div class='texto'> <p&g...
asked by 14.09.2016 / 16:38
3
answers

Count elements and display an amount

I need to display a certain number of HTML elements. For example: <div class="conteudo"> <p>Primeiro parágrafo</p> <p>Segundo parágrafo</p> <p>Terceiro parágrafo</p> </div> I wanted to d...
asked by 27.01.2017 / 16:49
2
answers

Expanding an image with hover without the other elements moving

I would like to expand an image when hovering the mouse without the others moving. nav#foto ul li{ display:inline-block; margin-left:30px; margin-top:55px; text-align: center; box-shadow: 2px 2px 10px rgba(0,0,0,.3); back...
asked by 26.01.2017 / 14:59
3
answers

How to convert numeric value to boolean?

I get a boolean value of the database, in which I want to set a checkbox dynamically. The value received is 0 or 1 . I tried to do it this way below: var status = 1; //valor recebido $("#status").prop('checked', stat...
asked by 26.01.2017 / 23:42
1
answer

create link with file download [closed]

Galera will create a link on my site for the user to download a file. The link works 100%, however after the user clicks download the file and downloaded to the computer's download folder. How do I get the browser to open the window asking me wh...
asked by 19.10.2016 / 14:04