how can refresh current page automatically, without press
any button and anchor tag.
Answer Posted / 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 |
Post New Answer View All Answers
What is isset in php?
What is Apache's configuration file typically called?
Which escape sequences can be used in single quoted strings in php?
What is the difference between require and include in php?
What is the method to execute a php script from the command line?
How can you retrieve data from the mysql database using php?
What are the features of object-oriented programming in php?
Do you know what is the use of the function 'imagetypes()'?
Explain Type juggling?
How many functions are there in php?
Write the statements that are used to connect php with mysql
what does this symbol mean in php?
What is artisan in php?
"mysql_fetch_row — Get a result row as an enumerated array",this sentence comes from the PHP offical manual.However ,i can not understand the words "enumerated array".I need some help.Thanks a lot to everyone that reply.
What is a persistence cookie?