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 is php full form?
Is php worth learning in 2019?
When are you supposed to use endif to end the conditional statement?
What are the functions of string?
What are the benefits of using php and mysql?
How to add different images in php program like a job site.......
What is Gd PHP?
Can the value of a constant change during the script's execution?
What are the basic steps to store PHP session in to Database?
what is the difference between GET and POST?
21 Answers AdVine, Evon Technologies, GVD Infotech, RedAlkemi, SoftSol,
What is user defined function in php?
How can php and html interact?