skip to Main Content

ASP.NET codebehind can't get selected drop down list value (after set Javascript attribute)

anyone know how does it cause ASP.NET codebehind can't acquire the selected value. What I found is the problem is the javascript function; set attribute portion: process.options[process.selectedIndex].setAttribute("style", "color:red;font-weight:600;"); process.options[process.selectedIndex].setAttribute("disabled", "disabled"); If I remove these setAttribute portion, ASP.NET codebehind can acquire…

VIEW QUESTION
Back To Top
Search