<select runat="server"

ASP.NET C#
I am trying to set the "Hover" or "onmouseover" (I am not sure which one applies) property on my <select> html object. I want to get rid off that ugly blue color, which highlights the list item when you click on the dropdown.
JoeUSAsked:
Who is Participating?
 
Justin_WConnect With a Mentor Commented:
The "Events" list on the following page shows all of the client-side events for the select object:
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/dhtml_reference_entry.asp

Depending on whether you are trying to change the color, or simply "de-select" the control after it's selection changes, you might use something like:
    <select onchange="this.blur();" ...
or you might need to use a combination of onmouse* and onkey* handlers.
0
 
Bob LearnedConnect With a Mentor Commented:
I believe that the property is onChange.

Bob
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.