[jQuery] Re: .serialize and form elements in tables

2008-10-03 Thread ajpiano
a quick workaround that springs to mind is $ (#form :input).serialize(); On Oct 3, 6:26 pm, Bruce MacKay [EMAIL PROTECTED] wrote: Hello folks, I've been successfully using .serialize() to prepare input data when my form has the structure form id=processthislabel  for=d1Your name/labelinput

[jQuery] Re: .serialize and form elements in tables

2008-10-03 Thread Dave Methvin
So are you calling it via $(#processthis).serialize()? Serialize doesn't fire, you just call it. If you set a breakpoint in Firebug in serialize, does it ever get there?

[jQuery] Re: .serialize and form elements in tables

2008-10-03 Thread Dave Methvin
That code looks okay. Have you run the HTML through the W3C validator? Maybe you're missing a tag somewhere.

[jQuery] Re: .serialize and form elements in tables

2008-10-03 Thread Bruce MacKay
Thank you Dave. The tables were formed fine (I'd checked that) but I had managed to include duplicate form IDs in the page and once that was fixed, the .serialize() is now working as expected. Cheers, Bruce At 02:54 p.m. 4/10/2008, you wrote: That code looks okay. Have you run the HTML

[jQuery] Re: .serialize and form elements in tables

2008-10-03 Thread Bruce MacKay
I appreciate the input (no pun intended!) but that workaround didn't do the job. Cheers, Bruce At 01:54 p.m. 4/10/2008, you wrote: a quick workaround that springs to mind is $ (#form :input).serialize(); On Oct 3, 6:26 pm, Bruce MacKay [EMAIL PROTECTED] wrote: Hello folks, I've been

[jQuery] Re: .serialize and form elements in tables

2008-10-03 Thread Bruce MacKay
I haven't set breakpoints before - will follow that up now - but if it helps, my code is function saveForm(ej) { var temp=new Array(); alert(ej); temp=ej.split('*'); var sct = temp[0]; var fID = temp[1]; alert('#'+sct); var str =