GIJGO
Examples
Documentation
Report a Bug
Download
Bootstrap 3 Checkbox
Bootstrap 4 Checkbox
Bootstrap 5 Checkbox
Material Design Checkbox
Gijgo.com
Checkbox
Examples
Bootstrap 3 Checkbox
Bootstrap Checkbox
Checkbox control that is using Bootstrap version 3
Preview
Front-End Code
Edit
<html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Bootstrap Checkbox</title> <script src="https://code.jquery.com/jquery-3.3.1.min.js"></script> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"> <script src="https://unpkg.com/gijgo@1.9.14/js/gijgo.min.js" type="text/javascript"></script> <link href="https://unpkg.com/gijgo@1.9.14/css/gijgo.min.css" rel="stylesheet" type="text/css" /> </head> <body> <div class="container-fluid" style="margin-top:10px"> <input type="checkbox" id="checkbox" /><br /> <button onclick="$chkb.state('checked')" class="btn btn-default">Checked</button> <button onclick="$chkb.state('unchecked')" class="btn btn-default">Unchecked</button> <button onclick="$chkb.state('indeterminate')" class="btn btn-default">Indeterminate</button> <button onclick="$chkb.prop('disabled', false)" class="btn btn-default">Enable</button> <button onclick="$chkb.prop('disabled', true)" class="btn btn-default">Disable</button> </div> <script> var $chkb = $('#checkbox').checkbox({ uiLibrary: 'bootstrap' }); </script> </body> </html>
;