When i click on a option how to make that option as selected in JQUery?
<p>HI,
 i am having a select dropdown like</p>

<pre><code>   &lt;select id="listForms"&gt;
 &lt;option value="Personal Form" id="25"&gt;Personal Form&lt;/option&gt;
 &lt;option value="Employee Details Form" id="24"&gt;Employee Details Form&lt;/option&gt;
 &lt;option value="Contact Form" id="45"&gt;Contact Form&lt;/option&gt;


     &lt;/select&gt;
</code></pre>

<p>When i click on a option how to make that option as selected in JQUery??</p>

<p>Edit :</p>

<p>i have tried it with </p>

<pre><code>     $("#listForms option").click(function (){
      $("#listForms option").attr("selected",true); but not working

     });
</code></pre>

<p>also how to find which one has been selected later?? in JQuery ?? please suggest me..</p>
