[jQuery] Serializing a subset of a form
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2912" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><FONT
face="Times New Roman"><FONT color=#000000><FONT size=3><SPAN
class=764004917-19072006>> </SPAN>The current implementation of $.serialize
only works</FONT></FONT></FONT></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><FONT><FONT><FONT
face="Times New Roman"><FONT color=#000000><FONT size=3><SPAN
class=764004917-19072006>></SPAN> on a single form element,
rite?</FONT></FONT></FONT></FONT></FONT><BR></DIV></FONT>
<DIV dir=ltr align=left><SPAN class=764004917-19072006><FONT face=Arial
color=#0000ff size=2>It looks to me like it will just serialize any form
elements within the element you give it, so this should
work:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=764004917-19072006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=764004917-19072006><FONT face=Arial
color=#0000ff size=2>$('#myset').serialize();</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=764004917-19072006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV></BODY></HTML>
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/