title: How to select the first element in the dropdown using jquery?
body: <p>I want to know how to select the first option in all select tags on my page using jquery.</p>
  
  <p>tried this:</p>
  
  <pre><code>$('select option:nth(0)').attr("selected", "selected"); 
  </code></pre>
  
  <p>But didn't work</p>