how can refresh current page automatically, without press
any button and anchor tag.
Answers were Sorted based on User's Feedback
Answer / satya
It is possible by using AJAX(Asynchronous Javascript And Xml).
| Is This Answer Correct ? | 25 Yes | 8 No |
Answer / anuj
<meta http-equiv="refresh" content="2;url=index.htm">
| Is This Answer Correct ? | 17 Yes | 3 No |
Answer / ramesh
To refresh a page after a pre-defined time, without pressing
any button ot anchor tag, you can use the follwing:
var t=setTimeout("javascript statement",milliseconds);
The setTimeout() method returns a value - In the statement
above, the value is stored in a variable called t. If you
want to cancel this setTimeout(), you can refer to it using
the variable name.
window.location.reload();
var t=setTimeout("window.location.reload()",5000);
| Is This Answer Correct ? | 14 Yes | 2 No |
Answer / dhir
For this we can use inner.html to refresh page automatically.
| Is This Answer Correct ? | 7 Yes | 2 No |
What's the diff. between include() and Include_once().
Tell me what does $_env means?
What is php pathinfo?
How error handling is being handled by php?
•How do you create subdomains using PHP?
Explain about PHP cookies?
Explain what is the main difference between require() and require_once()?
What is the best php framework 2018?
how to retrieve from database..... this format (PRMRMDU402). firstname= prabhu, lastname=kumar, city=madurai, pincode=624402.... i want first name first two letters and last name last two letters ... city first two letters ... pin code last three letters....
How many functions are there in php?
What is an example of a variable?
Explain what are psrs?