SunQuest
           HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 1st, 1999, 01:44 AM
pgilmore
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
I've got a form in wich there's a field I want to reload every 2 seconds or when the user klicks the field, is there a simple way of doing this? I don't want to reload the whole page because then all the other information already entered will be lost.
Thanx
//Patrick

Reply With Quote
  #2  
Old November 10th, 1999, 08:33 AM
dynamic1
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
You can use either setTimeout or setInterval to get Javascript to keep on calling a function at a set time period.

t=setTimeout("yourfunction()",2000);
This will call yourfunction afert 2 seconds.
You will need to call this command again in your function.


Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > Form field auto reload ...


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway