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 MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

onclick in the option tag 1

Status
Not open for further replies.

iminore

Programmer
Sep 3, 2002
50
GB
The html 'option' tag has no onclick event in IE. Does anyone know how to handle this.
 
The 'select' tag has an onClick event though. There you can perform the routine you wrote. In this routine you can test which option is checked.
 
using onclick in <select> doesn't help - the user hasn't selected an option at this point, he's just clicked to display the list.
 
onChange in the <select> tag does work - I could have sworn
I'd tried that.
Many thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top