[thelist] Q re: onSubmit with Mozzila, et al

angello angello at post.cz
Mon Nov 24 03:18:50 CST 2003


think i had similar problem
try to add your onSubmit to <form> as well as to <input type="submit" />
i.e.
<form action="" method="post" onSubmit="return 
check_registration_form(this)">
<input type="submit" onSubmit="return check_registration_form(this)" 
class="button" value="Submit" />



jsWalter wrote:

>>-----Original Message-----
>>From: Jeff Howden [mailto:jeff at jeffhowden.com]
>>Sent: Friday, November 21, 2003 1:30 PM
>>To: jsWalter at torres.ws; thelist at lists.evolt.org
>>Subject: RE: [thelist] Q re: onSubmit with Mozzila, et al
>>    
>>
>
>
>  
>
>>are you saying that hitting the enter key does not submit the form in
>>mozilla?
>>
>>or, are you saying that it does submit the form, but doesn't fire the
>>onsubmit event handler?
>>    
>>
>
>Hi Jeff,
>
>Sorry I wasn't all that clear.
>
>The form does SUBMIT, my method just doesn't fire. But the SUBMIT button
>does fire my method.
>
>So, I need to know how to grab the event via the RETURN key as well.
>
>Thanks
>
>Walter
>
>PS Jeff: what do you want to do about the EXE issue?
>
>
>  
>




More information about the thelist mailing list