|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||||
|
|||||
|
Javascript Timer
Ok I have this javascript timer,
php Code:
Basically I want to give users 2 minutes to fill out a form and hit submit, and if they dont do it within that time limit, it unsets some session variables, and does a couple database queries. Can this be done? Am I headed in the right direction? |
|
#2
|
|||
|
|||
|
RE: Javascript Timer
in order to reset the session variables and run queries, you would need to automatically submit the form indicating that the form was not completed. This would be somewhat annoying to the user as far as I can see.
|
|
#3
|
|||
|
|||
|
RE: Javascript Timer
ok ive got my timer working but i just cant figure out how to get the form to submit, document.frm.submit(); doesnt seem to work, is that the correct code?
|
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Client Side Things > Javascript Timer |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|