Link to home
Start Free TrialLog in
Avatar of Rohit Bajaj
Rohit BajajFlag for India

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
ASKER CERTIFIED SOLUTION
Avatar of funwithdotnet
funwithdotnet

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial