Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

this.text 1

Status
Not open for further replies.

travisbrown

Technical User
Dec 31, 2001
1,016
Is there such a thing as below? Seems like this should work the same way I can call the selected index value using this.value.

Code:
<select onchange="alert(this.text);" id="aaa">
<option value="123">1</option>
<option value="234">2</option>
<option value="345">3</option>
<option value="456">4</option>
</select>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top