Thursday 19 January 2012

get value from dropdown (select) control in java script

How to get value from dropdown (select) control?


Write following code

alert(document.getElementById('dropdown1').value);

No comments:

Post a Comment