how to get the selected index of the asp:DropDownList control using javascript
I have an asp.net page, and I want to hide a div on the page when the index of the asp:DropDownList is 0 using javascript.
I know how to hide the div but I do need help on how to get the selected index of the asp:DropDownLists using javascript.
This is what I have in the javascript:
function hideDiv() {
var drpCampDock = document.getElementById('drpListCampaignDocketTemplate');
var drpCampType = document.getElementById('drpCamp