*reads it over*

*pushes glasses up on nose slightly*

Yes..yes..yeeeeess.
This seems as though it will work juuuuust fine.
*rubs hands together*
*glances at Larry* 

Thankies :)

*drops code into CFSTUDIO snippet*
-Gel


-----Original Message-----
From: Larry Lyons [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, April 16, 2002 11:31 AM
To: CF-Community
Subject: RE: Code to prevent double submits


Here're you go 'gel:

<INPUT TYPE="Button" 
       VALUE="Change Quantities" 
onClick="if(this.value == 'Change Quantities') this.form.submit();
this.value = 'Please Wait.';">


Then if the user tries clicking again on the button nothing happens, it
only submits if the value of the button is Change Quantities.

hth,

larry

______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to