[jQuery] Re: How to prevent user from clicking links or buttons while submitting

2008-02-04 Thread brooke
Thanks all for your suggestions. I am going to try them this morning and will let you know how it goes! On Feb 2, 6:42 pm, pedalpete <[EMAIL PROTECTED]> wrote: > Hey klaus, > > I tried as you directed and placed it within the jquery form plugin, > but it doesn't seem to be working, I am able to

[jQuery] Re: How to prevent user from clicking links or buttons while submitting

2008-02-02 Thread pedalpete
Hey klaus, I tried as you directed and placed it within the jquery form plugin, but it doesn't seem to be working, I am able to click the submit button multiple times. Any idea as to why this would not work with the plugin? [code] $('#addForm').submit(function() { // inside event callba

[jQuery] Re: How to prevent user from clicking links or buttons while submitting

2008-01-31 Thread Klaus Hartl
First of all you should keep in mind that a user can always submit a form by hitting enter. Thus disabling the buttons only is more or less useless. You should just alter the forms submit event, this is where it all happens. That even works if you manually submit forms via links. Here's what I'd

[jQuery] Re: How to prevent user from clicking links or buttons while submitting

2008-01-31 Thread Glen Lipka
I whipped up a demo. Not exactly what you had requested, but close. http://commadot.com/jquery/PleaseWaitButton.php I am concerned why the click is appending twice. Does this help? Glen On Thu, Jan 31, 2008 at 7:33 AM, brooke <[EMAIL PROTECTED]> wrote: > > Here is the situation. We have a fo