Mutually exclusive checkboxes with jQuery | Germán Schuager's blog

Please Visit: http://ift.tt/1ajReyV



Mutually exclusive checkboxes with jQuery | Germán Schuager's blog

<script type="text/javascript" language="javascript">

$(document).ready(function() {

$('.mutuallyexclusive').click(function () {

checkedState = $(this).attr('checked');

$('.mutuallyexclusive:checked').each(function () {

$(this).attr('checked', false);

});

$(this).attr('checked', checkedState);

});

});

</script>

http://ift.tt/SRKtDf

http://ift.tt/1pzaaDn



Mutually exclusive checkboxes with jQuery | Germán Schuager's blog







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/SRKtDi

via LifeLong Community

No comments:

Post a Comment