Html5 CheckBox

Set the hasThreeStates property of the jqxCheckBox. Author: http://jqwidgets.com

by jqwidgets

HTML

<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">
<script src="https://jqwidgets.com/public/jqwidgets/jqx-all.js"></script>
<div id='jqxCheckBox'>Entertainment</div>
<div id='jqxCheckBox2'>Computers</div>

JavaScript

$("#jqxCheckBox").jqxCheckBox({
    width: '300px',
    height: 25,
    hasThreeStates: true,
    theme: 'energyblue'
});

$("#jqxCheckBox2").jqxCheckBox({
    width: '300px',
    height: 25,
    hasThreeStates: true,
    theme: 'energyblue'
});