Auto refresh web page Auto refresh web page database database

Auto refresh web page


Place it under head tag

<meta http-equiv="refresh" content="5">

This will refresh page every after 5 seconds.

For other option refer link text


Use AJAX with timer.Using this we can refresh the particular part in the page.


This task is very easy use following code in html header section

<head> <meta http-equiv="refresh" content="30" /> </head>

It will refresh your page after 30 seconds.