The Developers
Harshal Gandole
Pages
Home
Saturday, March 24, 2012
how to get selected item from dropdownlist in javascript
var ddl=document.getElementById ("<%=DropDownList1.ClientID%>");
var text=ddl.options[ddl.selectedIndex].text;
alert(text);
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment