Hmm...it looks like triggerHandler() is what I want.  Because my goal
is to not submit the form, which was the reason I was calling
event.preventDefault() inside the click event.

I just thought it was confusing because in the click even of the
button I was trying to prevent the default action of submitting the
form by calling preventDefault, yet the form was still submitting.

Thanks for pointing out triggerHandler.

On Oct 17, 8:24 pm, Choan Gálvez <[EMAIL PROTECTED]> wrote:
> While I don't fully understand what you want to do, I suspect that  
> what you need is the `triggerHandler` method. See 
> <http://docs.jquery.com/Events/triggerHandler
>  >.
>
> Or... submit the form instead of clicking the button.

Reply via email to