<input type="radio" name="things" value="exam" /> exam
<input type="radio" name="things" value="journey" /> journey
$("input[name=things]").click(function(){
if($(this).is(':checked')){
$(this).removeAttr('checked')
}
})
This doesn't work. How can I make it work? Here is how I would like it to run: if I click on selected input, then this should be unselected, but if I click on unselected input, then this should be checked and uncheck the others input.