Trigger change event <select> using jquery
<p>is there anyway i could trigger a change event on select box on page load and select a particular option. </p>

<p>i was trying to output something like <a href="http://jsfiddle.net/v7QWd/1/" rel="nofollow">this</a> </p>

<p>update:</p>

<p>i was able to change option by following code.</p>

<pre><code>$(&lt;element&gt;).val(&lt;value-to-be-changed-to&gt;).trigger('change');
</code></pre>

<p>Also the function executed by adding the trigger after binding the function to the event,</p>

<p><a href="http://jsfiddle.net/v7QWd/5/" rel="nofollow">Here is the sample.</a> </p>

<p>Thanks everyone.</p>
