title: How to use Javascript to select the nth option in dropdown
body: <pre><code>&lt;select class=fruits"&gt;
  &lt;option value="Orange"&gt;Orange&lt;/option&gt;
  &lt;option value="Apple"&gt;Apple&lt;/option&gt;
  &lt;option value="Grapes"&gt;Grapes&lt;/option&gt;
  &lt;option value="Kiwi"&gt;Kiwi&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>it by default shows orange in the box but I want Grapes in a box. Please help
  Thanks</p>