how to open the select list on jquery event or click

We wants such functionality in some cases like:-

There are two drop down first called ‘Select State’ Than ‘Select City’,’Select City’ is dependent on ‘Select State’ List in that case we want when someone select ‘Select State’ from options than ‘Select City’ drop down should be opened to show ‘Select City’ is also compulsory with .


There is Ajax populated drop down and we wants to open that with jquery event


<div id=”newcolor”>
<select class=”form-control features” id=”color2″ >
<option value=”newvalue” selected=”selected”>Select color </option>
<option>Gold </option>
<option>Purple </option>
<option>Black </option>
<option>Grey </option>



$(“#color2”).attr(“size”, 6);


Leave a Reply

Your email address will not be published. Required fields are marked *