jQuery walks through all the CheckBox of the page to see if it is selected
- 2020-05-27 04:25:18
- OfStack
This example shows how jQuery walks through all CheckBox on a page to see if it is selected. Share with you for your reference. The details are as follows:
$('#tbl').find(':checkbox').each(function(){
if ($(this).is(":checked")) {
// operation
}
});
I hope this article has been helpful to your jQuery programming.