> In the case of the checkboxes, if you check two boxes and use
> [EMAIL PROTECTED]
> fieldValue will only show the first value. That would need to go into the
> array case like the select-multiple. But, if there is only one box checked
> (or just one box with that name) should it return a simple value or an
> array
> with one value? If it sometimes returns an array and sometimes not, that
> would complicate using the return value.

I'm for returning always an array for checkboxes. That allows you to check for 
the array's length to see if anything was selected, and that works even with 
one checkbox.

--
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/

Reply via email to