Connecting Tech Pros Worldwide Help | Site Map

javascript timer

 
LinkBack Thread Tools Search this Thread
  #1  
Old April 14th, 2007, 09:27 AM
Needs Regular Fix
 
Join Date: Mar 2007
Posts: 304
Default javascript timer

hi,
I would like to know whether its possible to display data in a div at regular intervals using javascript ?

i.e. say every 5 sec the data displayed in a div should change without postback.

thanks,
gomzi.
Reply
  #2  
Old April 16th, 2007, 09:36 AM
acoder's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 14,257
Default

Where does the data come from?

You can use setInterval to display data at regular intervals. See link.
Reply
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search


Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.