Rafael,

>I'm trying exactly the same.
>$("input:checkbox:checked"); returns a set of jQuery elements
>$("input:checkbox:checked").val(); returns the value of the first element
>in
>the set.
>
>I really wanted to get an array with all the values, or even a string,
>without the need to iterate over each of the elements.

My Field Plug-in has a method called fieldArray() which will do exactly what
you're looking to do:

http://jquery.com/plugins/project/field

-Dan

Reply via email to