Solved

<select runat="server"

Posted on 2006-07-18
2
271 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
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

789 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