|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
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. |
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > Form field auto reload ... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|