Performance of jquery visible
- by Mark Steudel
I have a bunch of checkboxes on a page, and I only show a subset of those checkboxes at a time.
I then perform some action which loops through all of the checkboxes and sees if they are checked or not:
e.g.
$(".delete_items").click( function() {
$('.checkboxes' ).each(function(){
//do stuff
}
}
Then I was thinking, well since…