$(function(){
$(document).on("change",":checkbox[name='myCheck']",function() {
alert( $(this).is(":checked")?"I am checked":"I am un checked" );
});
});
In this case the click event is "attached" to the document object, but works on any checkbox with name myCheck, it is actually working on the checkbox so the this variable is the checkbox.
Open in new window
test page : http://jsfiddle.net/Fw3ry/