Simple one I'm sure but I can't find/work out the answer!
If I have an asp:DropDownList how do I find a specific item and select it client side. For example I have a DropDownList containing 'fred' , 'Charlie', 'Bill', 'Harry'. I want to display the DDL with 'Harry' Selected but I don't know the index of 'Harry' in the list.
Iassumed it would be something like
var index = ddlUsers.findItemByText('Harry');
ddlUsers.selectIndex = index