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

Detect Click on a <SELECT> in NN4

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
How do I detect a mouse click on a <SELECT> box in Netscape 4.x? I have tried to capture it in many places and it does not work. I know that the SELECT obj does not support the Click event (only onBlur, onFocus, and onChange). There is no item to change so I can't fire an event with that. I just want to fire a function when a user clicks on the box or the dropdown arrow on the right.
 
When you use the onfocus event it will fire everytime you move the mouse over the box. I only want it when you hit the mouse button. I tried trapping the mousedown event also, but again it does not register as a mousedown when the mouse is over the select box.
 
What about putting a <a href=&quot;#&quot;...></a> tag around it?
 
Tried it doesn't work. I am at my wits end trying to figure it out though that is why I came here to post a question.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top