title: Set the selected option by attribute name (select tag)
body: <p>I'm doing some javascript/jquery for my application and i need some help.</p>
  
  <p>I have a select with many options. I want to select the option with the attribute name='myName'. </p>
  
  <p>I know setting it by value is pretty trivial.</p>
  
  <pre><code>$("#my-select").val(myVal);
  </code></pre>
  
  <p>Thanks for the help.</p>