I have group checkboxes and I like if this group have behaviour like radiobuttons with same name atribute.
Each checkbox has different name.
Only one can be
HTML
Javascript
$('input.unique').each(function() { $(this).on('touchstart click', function() { $('input.unique').not(this).removeAttr('checked'); }); });
Fiddle: http://jsfiddle.net/L2ad1vd8/