Simulate click on select element with jQuery
<p>I use this code for simulate <code>click</code> on <code>select</code> element:</p>

<pre><code>$(function(){
   $("#click").click(function(){
       $("#ts").click();
       //$("#ts").trigger("click");
   });
});
</code></pre>

<p>and HTML code is:</p>

<pre><code>&lt;select id="ts"&gt;
    &lt;option value="1"&gt;1&lt;/option&gt;
    &lt;option value="2"&gt;Lorem ipsum dolor s.&lt;/option&gt;
    &lt;option value="3"&gt;3&lt;/option&gt;
&lt;/select&gt;

&lt;input type="button" id="click" value="Click"/&gt;
</code></pre>

<p>I test <code>click</code> and <code>trigger</code> but both not work.</p>

<p>Thanks for any help.</p>
