jQuery walks through all the CheckBox of the page to see if it is selected


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.