title: Uncheck radiobutton
body: <pre><code>&lt;input  type="radio" name="things" value="exam" /&gt;  exam
  &lt;input  type="radio" name="things" value="journey" /&gt; journey
  
  
  $("input[name=things]").click(function(){
      if($(this).is(':checked')){
          $(this).removeAttr('checked')
      }
  })
  </code></pre>
  
  <p>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.</p>
  
  <p>LIVE: <a href="http://jsfiddle.net/syH46/" rel="nofollow noreferrer">http://jsfiddle.net/syH46/</a></p>