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 |
Tell me what is the use of "enctype" attribute in a html form?
How does php session work?
Write a program in php to print a table of a number?
How many ways there are to fetch the data from the Database?
Will php die?
How can you get web browser’s details using PHP?
What is difference between count or sizeof function in php?
How to Calculate Internal links & External Link in Website.(For Example YAHOO WEBSITE)
How do you create an array in php?
Which function you can use in php to open a file for reading or writing or for both?
What is stripslashes php?
Do you know when sessions ends?