jQuery CheckBox
Bind to the change event by type: jqxCheckBox. Author: http://jqwidgets.com
by jqwidgets
HTML
<script src="https://jqwidgets.com/public/jqwidgets/jqx-all.js"></script>
<link rel="stylesheet" href="https://jqwidgets.com/public/jqwidgets/styles/jqx.base.css">
<link rel="stylesheet" href="https://jqwidgets.com/public/jqwidgets/styles/jqx.energyblue.css">
<div id='jqxCheckBox'>Entertainment</div>
JavaScript
$("#jqxCheckBox").jqxCheckBox({
width: '300px',
height: 25,
theme: 'energyblue'
});
$('#jqxCheckBox').on('change', function (event) {
alert("The state has been changed")
});