how can refresh current page automatically, without press
any button and anchor tag.

Answers were Sorted based on User's Feedback



how can refresh current page automatically, without press any button and anchor tag...

Answer / satya

It is possible by using AJAX(Asynchronous Javascript And Xml).

Is This Answer Correct ?    25 Yes 8 No

how can refresh current page automatically, without press any button and anchor tag...

Answer / anuj

<meta http-equiv="refresh" content="2;url=index.htm">

Is This Answer Correct ?    17 Yes 3 No

how can refresh current page automatically, without press any button and anchor tag...

Answer / sheeba

using meta tag

<meta http-equivalent=refresh>

Is This Answer Correct ?    20 Yes 7 No

how can refresh current page automatically, without press any button and anchor tag...

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

how can refresh current page automatically, without press any button and anchor tag...

Answer / dhir

For this we can use inner.html to refresh page automatically.

Is This Answer Correct ?    7 Yes 2 No

Post New Answer

More PHP Interview Questions

what is the difference between ph4 and php5

2 Answers  


What IS PHP?

3 Answers   Reliance,


What is smarty?

0 Answers  


Which is variable cost?

0 Answers  


How does session work in php?

0 Answers  






What types of MYSQL function available for affecting columns

0 Answers  


Tell me what does accessing a class via :: means?

0 Answers  


How to remove white spaces from the beginning and/or the end of a string in php?

0 Answers  


How can we get the error when there is a problem to upload a file?

0 Answers  


Is json a string php?

0 Answers  


Why ide is recommended for use while programming with php?

0 Answers  


What type of headers that PHP supports?

0 Answers  


Categories