[jQuery] Re: .serialize() not working on DOM form

2008-03-07 Thread Ken Gregg
I ran into this and discovered serialize won't find a field if it does not have a name tag. I see you only have ids in your code above. On Mar 6, 1:39 pm, jayturley [EMAIL PROTECTED] wrote: On Mar 6, 1:36 pm, Mike Alsup [EMAIL PROTECTED] wrote: indicating that the form and its inputs can

[jQuery] Re: .serialize() not working on DOM form

2008-03-07 Thread Mike Alsup
I ran into this and discovered serialize won't find a field if it does not have a name tag. I see you only have ids in your code above. Good catch, Ken. The name attribute is required for form elements.

[jQuery] Re: .serialize() not working on DOM form

2008-03-06 Thread Mike Alsup
indicating that the form and its inputs can be found, the lines below do NOT work: var formString = jQuery(#new_property).serialize(); var formString = jQuery(#new_property:input).serialize(); Those lines look like they should work. How exactly does it fail? Does it return an

[jQuery] Re: .serialize() not working on DOM form

2008-03-06 Thread jayturley
On Mar 6, 1:36 pm, Mike Alsup [EMAIL PROTECTED] wrote:  indicating that the form and its inputs can be found, the lines below  do NOT work:     var formString = jQuery(#new_property).serialize();     var formString = jQuery(#new_property:input).serialize(); Those lines look like they