Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

get value of choice dropdown in js

var e = document.getElementById("ddlViewBy");
var strUser = e.options[e.selectedIndex].text;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #choice #dropdown #js
ADD COMMENT
Topic
Name
6+8 =