I want to be able to uncheck a radio button by clicking on it.
So, if a radio button is unchecked, I want to check it, if it is checked, I want to uncheck it.
Yes you can also do this on click checked, again click uncheck. Here is the logic of this:
$('input[name=check1]').prop('checked',!$('input[name=check1]').prop('checked'));