Let's say I want an array of all the values for checked checkboxes on my page. How do I do this? This:
$('input:checkbox:checked').val() ..only returns the first value. Is there a function that will return a javascript array of values? Thanks.
Let's say I want an array of all the values for checked checkboxes on my page. How do I do this? This:
$('input:checkbox:checked').val() ..only returns the first value. Is there a function that will return a javascript array of values? Thanks.