how to select the option with the value we give using document.getElementById("id"):
document.getElementById("dropdownlist").selectedValue="apple";
or change the text of a control with the help of this in javascript code.
i am filling the dropdown like this:
<select id="ddlC" class="form-control" ng-model="mdlC" runat="server" style="width: 250px" ng-options="c.CId as c.Na for c in Cat">
<option value="">Select Category</option>
</select>