title: How to check a Particular Radio Box in a "Group" using JavaScript
body: <p>I have a radio box group and I need to select a given radio box using javascript as in the following case, I have to check option with value D3</p>
  
  <pre><code>&lt;input type="radio" name="day" id="day" value="D1" /&gt;D1
  &lt;input type="radio" name="day" id="day" value="D2" /&gt;D2
  &lt;input type="radio" name="day" id="day" value="D3" /&gt;D3
  &lt;input type="radio" name="day" id="day" value="D4" /&gt;D4
  </code></pre>
  
  <p>How can the third option for example be checked?</p>