Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
171
rated 0 times [  178] [ 7]  / answers: 1 / hits: 52171  / 14 Years ago, thu, october 21, 2010, 12:00:00

A couple of questions:




  • I've never really used JS listeners other than onclick and onkey events, so I wondered if someone could help me with what I need in order to reload the page every X seconds?


  • Secondly, the page contains bare minimum, literally just one input box. Do I still need to include the html head and body?



More From » html

 Answers
20

You don't need Javascript for this simple function. Add in the page header:



<meta http-equiv=Refresh content=300>


300 is the number of seconds in this example.


[#95216] Wednesday, October 20, 2010, 14 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
danalexc

Total Points: 114
Total Questions: 119
Total Answers: 103

Location: Hungary
Member since Wed, Nov 9, 2022
2 Years ago
;