<input type="radio" name="check" value="check" onClick="javascript:docheck(this);" checked="checked"/> <script> var check; $('input[type="radio"]').hover(function() { check = $(this).is(':checked'); }); var checkedradio; function docheck(thisradio) { if (checkedradio == thisradio) { thisradio.checked = false; checkedradio = null; } else {checkedradio = thisradio;} } </script>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)