jquery watch checkbox change

JavaScript
$('input[type="checkbox"]').change(function() {
    alert ("The element with id " + this.id + " changed.");
});
Source

Also in JavaScript: