[jQuery] Serializing a subset of a form

[jQuery] Serializing a subset of a form

Hi
I was trying to figure out a way to serialize a part of a form which is inside a specific parent div
e.g.
<form name="testform">
<input name="inp1" value="val1">
<input name="inp2" value="val2">
<div id="myset">
<input name="inp3" value="val3">
<input name="inp4" value="val4">
</div><br clear="all"></form
In the above, I'd like to serialize only inp3 and inp4. The current implementation of $.serialize only works on a single form element, rite?
And the form element serialization code is inbuilt into the each() loop inside the form serializer.
I was hoping to find something like an element serializer (extracted from the form serializer) and incorporate it into the attr.js ?
Any ideas?
Regards
Ashutosh
--
Reach1to1 Communications
<a href="http://www.reach1to1.com">
http://www.reach1to1.com</a>
<a href="mailto:bijoor@reach1to1.com">bijoor@reach1to1.com</a>
98201-94408
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/