How to access ASP.NET drop down box from jquery
- by Sayem Ahmed
Well, I have a really small problem. How can I access an ASP.NET Drop down list from jquery? I tried to use "CssClass" property of the drop down list to assign a CSS class and then accessing that list using that class, but later I found out that the class changes when an element is selected, so my initial class replaced by a new class.
I also cannot use the "ClientID" property because the part of code that access that list is not inside the page, but in a separate javascript file.
So how can I access it ?