title: Semantic UI: How to define selected item of search dropdown ("<select>")?
body: <p>how can I set the selected item of a search dropdown (select) form field? I tried it with the following jQuery/JavaScript code:</p>
  
  <pre><code>if (equal == 0) {
      $('#sj_company').html($('#sj_company').html() + '&lt;option value="' + key + '" selected="selected"&gt;' + data[key] + '&lt;/option&gt;');
      $('.searchdropdown').dropdown('set selected', data[key]);
  } else {
      $('#sj_company').html($('#sj_company').html() + '&lt;option value="' + key + '"&gt;' + data[key] + '&lt;/option&gt;');
  }
  </code></pre>
  
  <p>Edit:
  The base is the semantic ui frontend framework ;-)</p>