Select All Checkboxes Based On Class

/ Published in: JavaScript
Save to your folder(s)

This is a simple javascript snippet that will allow you to specify a particular class to a group of checkboxes and then select them all at once when you click the master checkbox. This came in very handy for a store inventory script when I needed to select all of the models of a particular manufacturer.


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.