title: How to set the selected value in aui:select box
body: <p>I have form with select box in my user form. I also need to update the form in edit mode. I am able to get selected value in edit mode. But I am unable to set the selected value in the edit mode.</p>
  
  <p>Here I am able to get the selected value from db. <code>&lt;%=user.getTitle() %&gt;</code> Now how can I set the selected value in my select box.</p>
  
  <pre><code>&lt;aui:select name="title"&gt;
      &lt;aui:option label="Dr" value="dr" /&gt;
      &lt;aui:option label="Mr" value="mr" /&gt;
      &lt;aui:option label="Mrs" value="mrs" /&gt;
      &lt;aui:option label="Ms" value="ms" /&gt;
  &lt;/aui:select&gt;
  </code></pre>
  
  <p>Example I aset the selected value for input field like this,</p>
  
  <pre><code>&lt;aui:input name="emailAddress" value=""&gt;&lt;/aui:input&gt;
  </code></pre>
  
  <p>Any suggestions please!!</p>