Obtain Select List Text

[Total: 0    Average: 0/5]

This updates the text in the textarea for the item selected.

Body Code:

<form name=exf1>
<select name=sel onChange="document.exf1.inpost.value=this[this.selectedIndex].text"> 
<option value="AL">Alabama</option>
<option value="AK">Alaska</option>
<option value="AZ">Arizona</option>
<option value="AR">Arkansas</option>
</select > 
<TEXTAREA cols=60 name=inpost rows=20 wrap=VIRTUAL>data</TEXTAREA> 
</form>

Times Viewed: 0

Leave a Reply

Your email address will not be published. Required fields are marked *