Rohit Bajaj
asked on
How to select the drop down using jquery
HI,
In my html page i have created a drop down with the following :
<div class="form-group">
<select id="mode" class="form-control">
<option id="text/plain" selected>Rich Text</option>
<option id="text/plain">Mark Down</option>
</select>
</div>
By default Rich Text is selected.
I want to select Mark Down using jquery. How can i do it ?
Thanks
In my html page i have created a drop down with the following :
<div class="form-group">
<select id="mode" class="form-control">
<option id="text/plain" selected>Rich Text</option>
<option id="text/plain">Mark Down</option>
</select>
</div>
By default Rich Text is selected.
I want to select Mark Down using jquery. How can i do it ?
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.