javascript - Jquery - how to get jquery object of checkbox that are checked -


this question has answer here:

i'd ask how jquery object of checkboxes checked.

i have several checkboxex have "checkboxes" class. checked, , others not checked.

<input type="checkbox" class="checkboxes" checked="checked" /> 

i put $('.checkboxes') checkboxes variable.

var checkboxes = $('.checkboxes'); 

but don't know write after this.

could me?

thanks in advance :)

jquery has selector checked or selected items: :checked. checked checkboxes object use this:

var checkedboxes = $( '.checkboxes:checked' ); 

Comments

Popular posts from this blog

Unable to remove the www from url on https using .htaccess -