title: jQuery to retrieve and set selected option value of html select element
body: <p>I am attempting to retrieve and set the selected value of a select element (drop down list) with jQuery.</p>
  
  <p>for retrievel i have tried <code>$("#myId").find(':selected').val()</code>, as well as <code>$("#myId").val()</code> but both return undefined.</p>
  
  <p>Any insight into this problem would be much appreciated.</p>