Home >Web Front-end >JS Tutorial >jQuery method to traverse all CheckBoxes on the page to see if they are selected_jquery
The example in this article describes how jQuery traverses all CheckBoxes on the page to see if they are selected. Share it with everyone for your reference. The details are as follows:
$('#tbl').find(':checkbox').each(function(){ if ($(this).is(":checked")) { //操作 } });
I hope this article will be helpful to everyone’s jQuery programming.