[jQuery] Pass form as argument into its submit event

2009-02-16 Thread stretch
What I'm trying to do should be very simple. I would like to assign a submit handler to a form and pass that form into the handler (I then wish to interrogate the id of the form argument and perform appropriate validation according to which form it is). The following code doesn't achieve the desir

[jQuery] Re: Pass form as argument into its submit event

2009-02-17 Thread stretch
s a gold assayer would test gold. If you > find they make sense, conform to your experience, and don't harm yourself > or others, only then should you accept them.' > >   From:       stretch                              

[jQuery] Re: Pass form as argument into its submit event

2009-02-17 Thread stretch
f the form! On Feb 17, 9:20 am, stretch wrote: > Yes, I was hoping to do this unobtrusively, keeping all my behaviour > in a separate js file to keep the XHTML clean. Sorry, I should have > mentioned that's what I was aiming for in my original post. > > Any other ideas? >