Page Reload problem
1 posts in topic
Flat View  Flat View

Posted By:   abrar_malik
Posted On:   Sunday, November 3, 2002 09:00 AM


I am new to javascript.any how i am making a simple chat program,in which all discussion first store in data base
.and when page reloads then it is spread to all.
it is not a two person chat.


my question is ,IS there any function present in javascript
or some in html in which our web browser reloads itself
after a specific time.
If Yes then please provide me some sample or atleast name of this function.


Re: Page Reload problem

Posted By:   Brian_Glodde  
Posted On:   Sunday, November 3, 2002 08:51 PM

You can do it via Javascript to execute a particular function at a specified interval:

setTimeout( 'myfunction()', 2000 );

but if you just need the whole page to reload at specified intervals, put this in the head of the document to be reloaded:

About | Sitemap | Contact