title: JQuery - how to select dropdown item based on value
body: <p>I want set a dropdown(select) to be change based on the value of the entries.</p>
  
  <p>I have</p>
  
  <pre><code>&lt;select id="mySelect"&gt;
    &lt;option value="ps"&gt;Please Select&lt;/option&gt;
    &lt;option value="ab"&gt;Fred&lt;/option&gt;
    &lt;option value="fg"&gt;George&lt;/option&gt;
    &lt;option value="ac"&gt;Dave&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>And I know that I want to change the dropdown so that the option with the value of "fg" is selected. How can I do this with JQuery?</p>