Hi I have a dropdownlist as a column within a gridview. gridview has multiple rows. In Page Source of this Page I see same Id for all the drodownlists of each row, but name is differenet. So I want to get the selected value of a dropdownlist in any nth row. So I'm trying to do the same by getElementsByName. But its giving undefind value. Why its giving undefined value and how to achieve the desired results
var DropDown= document.getElementsByName('grvRewardRulesDetails$ctl03$StartHourDropDown');