[jQuery] Re: Form submit problem when dealing with more than 1 form

2007-07-05 Thread Catalin
I've replaced options = jQuery.extend(options); with options = options || {}; and it works now. Thanx Mike ! On Jul 5, 5:00 pm, "Mike Alsup" <[EMAIL PROTECTED]> wrote: > Most likely the problem occurs because you're using the extend method > incorrectly. If you only pass a single arg to ext

[jQuery] Re: Form submit problem when dealing with more than 1 form

2007-07-05 Thread Mike Alsup
Most likely the problem occurs because you're using the extend method incorrectly. If you only pass a single arg to extend it extends the jQuery object. I'm not really sure what you're trying to accomplish with this line anyway: options = jQuery.extend(options); Did you mean to use something

[jQuery] Re: Form submit problem when dealing with more than 1 form

2007-07-03 Thread Catalin
John, I'm developing a framework here and everything went well `till I started asking myself. Does it work if I have 2 forms present on one page? And all came tumbling down since, the submit event takes the second set of options everytime i click the form submit button. Shouldn't the first optio

[jQuery] Re: Form submit problem when dealing with more than 1 form

2007-07-03 Thread John Farrar
Carlin, It seems like a wrong approach to submit more than one form. By virtue a form is sort of a "domain" of information. If you have seperate forms they likely should be submitted seperately. There are ways to combine information so the form is split up into pages or even "tabs" for example of