This would still work.  Semantic ordering will be retained within
element type, just not cross-type.  In Matt's method you'd get all the
inputs (in order), then all the textareas, etc.

Mike

> Yes, I care.
>
> Case:
> An unchecked checkbox doesn't post. However, you usually want to work
> with an on/off value. I use this construct (stolen from Rails I
> think):
>
> <input type="hidden" name="foo" value="offValue">
> <input type="checkbox" name="foo" value="onValue">
>
> This way, when the checkbox is not checked, "offValue" is posted for
> foo. When checked, "onValue" is posted.

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to