 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Curtis Morrison Guest
|
Posted: Sun May 16, 2004 6:40 am Post subject: Need help using onClick and onSubmit in a form |
|
|
I have a javascript function that disables the form submit button if it has
already been submitted and another javascript function that does an email
address validation. If I remove the onClick event from the submit button,
the email handler works fine (and vice-versa), but neither work if both are
present.
<form action="" method="post" name="feedback" id="feedback" title="Feedback
form" lang="en" onSubmit="return emailCheck(this.email.value)">
<input name="continue" type="submit" id="continue" tabindex="12"
onClick="return checksubmit(this)" value="Continue">
Can anyone please tell me what the best way would be to do this?
Thanks,
Curt
----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|