jQuery checkbox checked state changed event

I want an event to fire client side when a checkbox is checked / unchecked:

$('.checkbox').click(function() {
  if ($(this).is(':checked')) {
    // Do stuff

Basically I want it to happen for every checkbox on the page. Is this method of firing on the click and checking the state ok?

I’m thinking there must be a cleaner jQuery way. Anyone know a solution?

106 thoughts on “jQuery checkbox checked state changed event”

  1. I loved as much as you will receive carried out right here.

    The sketch is tasteful, your authored material stylish. nonetheless, you command get bought an edginess
    over that you wish be delivering the following. unwell unquestionably come further formerly again as exactly the same nearly very often inside case you shield this hike. http://antiibioticsland.com/Cipro.htm


Leave a Comment