$(function(){ $('input[type=checkbox]').change(function() { if (this.checked) { var check = $("input[type=checkbox]"); for (var i = 0; i < check.length; i++) if (check[i] != this) check[i].checked = false; } }); });