Solved

<select runat="server"

Posted on 2006-07-18
2
272 Views
Last Modified: 2006-11-18
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.
0
Comment
Question by:JoeUS
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 96

Assisted Solution

by:Bob Learned
Bob Learned earned 200 total points
ID: 17133620
I believe that the property is onChange.

Bob
0
 
LVL 24

Accepted Solution

by:
Justin_W earned 300 total points
ID: 17134638
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

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Sometimes in DotNetNuke module development you want to swap controls within the same module definition.  In doing this DNN (somewhat annoyingly) swaps the Skin and Container definitions to the default admin selections.  To get around this you need t…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question