html select only one checkbox in a group
$('input[type="checkbox"]').on('change', function() { $(this).siblings('input[type="checkbox"]').not(this).prop('checked', false); }); First method <html><head> <script type="text/javascript" src="//code.jquery.com/jquery-2.1.0.js"></script> <script type="text/javascript">//<![CDATA[ $(window).load(function(){ $('input[type="checkbox"]').on('change', function() { $(this).siblings('input[type="checkbox"]').not(this).prop('checked', false); }); });//]]> </script> </head> <body> <div> <span>Group 1:</span> <input class="group1" checked="" type="checkbox"> <input class="group1" type="checkbox"> <input class="group1" type="checkbox"> </div> <div> <sp...