title: check/uncheck radio input with javascript
body: <p>I have a radio input group. If a radio is checked and I click again it becomes unchecked.</p>
  
  <p>Is there a way to get the previous status of the radio <code>onClick</code> event?</p>
  
  <pre><code>&lt;input name="options" type="radio" onClick="resetMeIfChecked()"&gt;
  &lt;input name="options" type="radio" onClick="resetMeIfChecked()"&gt;
  &lt;input name="options" type="radio" onClick="resetMeIfChecked()"&gt;
  </code></pre>