kelvin,

:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
: From: Kelvin Tran <[EMAIL PROTECTED]>
:
: I have the following javascript that suppose to stop
: the user from doing multiple submit.  It's work
: perfectly in NS 4+, but does't work at all in IE 5+.
:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

actually the code shouldn't work in any browser since you're not asking the
function to return true or false, but simply calling the function with the
onSubmit event handler.  in order to get it to stop the submit of the form
you have to ask it to return true or false.  your <FORM> tag would look like
this:

<FORM
  Action = "xxxx.cfm"
  Name = "form"
  onSubmit="return StopClicked()">


good luck,

.jeff

name://jeff.howden
game://web.development
http://www.evolt.org/
mailto:[EMAIL PROTECTED]

------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to