![]() Topic awaiting preservation: Submit protection (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: Denmark |
![]() Afternoon |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
![]() Rane: If it is only a 5 second wait then its probably something like JavaScript you are looking for. I think it was the Doc who dropped this script in when the subject was raised: code: <script language="javascript">
|
Bipolar (III) Inmate From: Denmark |
![]() Alrighty, thanks a lot Emps |
Bipolar (III) Inmate From: USA! USA! USA! |
![]() button.onsubmit = function(){return false;} |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
![]() Remember too unless you are using some sort of frameset or fancy DHTML form submission then the user is going to be redirected to another page that processes the cgi. So really you can just use doc's script instead of waiting the 5 seconds. (which will disable the submit as soon as it's hit while the user gets processes via cgi |