cbrune
asked on
How do I set the dropdownlist with a value of custom to the current selected item in jquery?
How do I set the dropdownlist with a value of custom to the current selected item in jquery? code attached
<select class="dropDown optional-degree" data-val="true" data-val-number="The field Cost Tools must be a number." data-val-required="The Cost Tools field is required." id="AttackSequenceEditMode ls_CostToo lsId" name="AttackSequenceEditMo dels.CostT oolsId"><o ption value=""></option><option data-score="0.2" value="1">Low</option><opt ion data-score="0.6" value="2">Medium</option>< option data-score="0.9" value="3">High</option><op tion data-score="0" value="4">Custom</option>< /select>
<select class="dropDown optional-degree" data-val="true" data-val-number="The field Cost Tools must be a number." data-val-required="The Cost Tools field is required." id="AttackSequenceEditMode
ASKER
i want to have a button on the page that sets the dropdown to custom
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Mean while you can look at this example. hope this helps you.
http://jsfiddle.net/gTCt4/