Check-box for SO 13633457

http://stackoverflow.com/questions/13633457/capturing-aspcheckbox-event-with-jquery

HTML

<table>
<tr>
 <td>
  <span name="testcb">
   <input id="testcb" type="checkbox" 
          name="ctl00$ctl00$bodyContent$phMainContent$testcb">
  </span>
 </td>
</tr>
</table>

JavaScript

$(document).on('ready', function () {
    
    $("#testcb").on('click', function () {
        var $cb = $(this);
        if ($cb.is(':checked')) {
            alert("checked");
        }
    });
    
});