Diane
Input elements don't have an onsubmit event. Only the form does.
You might try adding onclick/onkeypress event handlers to the submit
button that point to a function that does nothing but disable the button, à
la:
.function nobble(me) {
.me.disabled = true;
.}
Mark
The
Hi Diane
- Original Message -
From: Diane Schips
I have a page that can take a few seconds to go to the next page once the
submit button is pressed. The page submits an email back to the site
owner, so when visitors press the submit button multiple times, it causes
problems.
Why
I found one of them today -- GLOBAT. If anyone else finds them, please
post. If we work together, we hardly have to work!
Anyone out there have the resources to setup a bulletin board or blog to
post these?
Dan
The WDVL Discussion List from WDVL.COM
To Join wdvltalk, Send An
I did try this. It doesn't have any effect on the submit button at all.
Thanks though!
Krawec, Mark wrote:
Diane
Input elements don't have an onsubmit event. Only the form does.
You might try adding onclick/onkeypress event handlers to the submit
button that point to a function that does
I'm not sending an email. It's the form fields that don't get sent.
So what if I modified this a bit? I could do what I already am doing,
only add the flag. The flag would disable the submit button the second
time it's pressed, which won't cause a problem since this is the
scenario that