Questions tagged as 'html'

1
answer

Go to the "home" page [duplicate]

How can I do this through a javascript function, which activates the "Home" command, ie the page jumps to the top of it? Example: A button that is clicked at the bottom of the page redirects overflow to the top.     
asked by 01.03.2018 / 16:43
2
answers

How to put a java script inside the value html

I have a variable of any kind: let variavel = x; and I have the input: <input type="text" value=""> Is there a way in javascript pure to pick up a variable or any javascript code and put inside html tags? In this example it wo...
asked by 01.03.2018 / 22:19
1
answer

How to return to the initial value after a change in the event

I have this code: let inicial = 0 let vPag = 3 const numeros = [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30]; render() function resultadoPag(pagina){ vPag = pagina.value; render();...
asked by 24.02.2018 / 18:28
1
answer

Modify the color of DatePicker

I am trying to modify the background color of my jquery datepicker, I searched the internet for some solutions brought me this code: .ui-datepicker { color:white; background-color: red; background: red; } So it does not modify the calenda...
asked by 25.02.2018 / 15:57
1
answer

Compare 2 dates [duplicate]

I'm trying to make this code work correctly, but the same thing I noticed only compares the day because if it's bigger than the current day works correctly, but if it's shorter than the current day it has the error "Your account has expired" i...
asked by 25.02.2018 / 07:50
1
answer

Display popup when closing page [duplicate]

Hello. I would like to know a code to display a form as a popup when the user closes the page. That is, that moment when he takes the cursor over the browser. Because the page was made by the RD tool. Form in question: link Form Cod...
asked by 24.02.2018 / 19:29
1
answer

Remove tag a using php and leave only td text

I am using PHPMailer to send emails, but in the body of the email has a field (address) that is coming as a link (to the maps) to the recipient. I've already used strip_tags () but it did not work. Locally it works, but when testo online does...
asked by 23.02.2018 / 18:00
1
answer

Include files and get multiple repetitions of html and body tags can give problem?

Assuming I have a file named home.php and it is has the following codes: <html> <head> <p>Head do home.php</p> </head> <body> <span>Body do home.php</span> </body> </html&...
asked by 20.03.2018 / 02:52
1
answer

Print all pages generated by PHP and MYSQL

Hello, I am making an extract in which you can generate several pages, I used a very simple paging system using limit in the querys of mysql . > The problem is that several pages are generated and at the time of printing it only prin...
asked by 21.03.2018 / 12:49
1
answer

Transform the DATA entry into a PHP / JAVA variable

I hope you understand the situation: By programming a web page, I have created a data field where the user chooses the date that to filter the information contained in the site, ie only display information that reflects the chosen day o...
asked by 20.03.2018 / 20:15