I have created a checkbox dynamically. I have used addEventListener to call a function on click of the checkbox, which works in Google Chrome and Firefox but <
addEventListener
If you use jQuery you can write:
$( _checkbox ).click( function( e ){ /*process event here*/ } )