> > For radios/checkboxes: Can we rely on searching for siblings? Or do we
> need to search for the name inside the current form?
>
> No, we can't! There may be labels around it or divs/lis whatever in
> between... It should search for the name in the document!
But the document may contain other forms with the same name. I think the
.parents('form, body') approach works quite well: If there is a surrounding
form, that is used to search, otherwise it searches the entire document (body).
--
Jörn Zaefferer
http://bassistance.de
--
"Ein Herz für Kinder" - Ihre Spende hilft! Aktion: www.deutschlandsegelt.de
Unser Dankeschön: Ihr Name auf dem Segel der 1. deutschen America's Cup-Yacht!
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/