How to retrieve a value that is selected from a combo box?

Sujatha Gopal

<SELECT id=select1 name=select1>
<OPTION value=a>a</OPTION>
<OPTION value=b>b</OPTION>
<OPTION value=c>c</OPTION>
<INPUT type="button" value="Button" id=button1 name=button1 onclick="alert(select1.value);">

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact
We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.