Change radion button with jQuery

 

Check | Uncheck
<form>
   <input type="radio" name="myButton" value="" />
   <a href="javascript:void(0);" id="checkRadioBtn">Check</a> | 
   <a href="javascript:void(0);" id="uncheckRadioBtn">Uncheck</a>
</form>

<script type="text/javascript">

$(document).ready(function() {
   $('#checkRadioBtn').click(function() {
     $('input[name=myButton]').attr('checked', 'checked');
   });
   $('#uncheckRadioBtn').click(function() {
     $('input[name=myButton]').removeAttr('checked');
   });
});

</script>