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

In PHP, fgets() is used to read a file one line at a time. State Whether True or False?

0 Answers  


What version of php do I have windows?

0 Answers  


discuss the issue of software theft in ghana and how it has affected the economy

0 Answers  


Tell me what is the default session time in php?

0 Answers  


How to stop the execution of php script?

0 Answers  






how to detect a mobile device using php

0 Answers  


Code to upload a file in PHP?

0 Answers  


Write a program to swap two numbers using php.

0 Answers  


What does php mean?

0 Answers  


Which escape sequences can be used in single quoted strings in php?

0 Answers  


1.Where are the sessions storing ? 2.What are the contents of a session file ? 3.If the server is loaded with too many session files there is a possibility of server crash. How can we solve this issue? 4. How does php server identify that the particular session belongs to particular user ? For ex: If two users A and B logged from different machine, separate session files (say 1 and 2) will be created in the server. But how the php knows that 1 belongs to A and 2 belongs to B ?

4 Answers   PA Consulting, TCS,


What sized websites have you worked on in the past?

0 Answers  


Categories