Solved

<select runat="server"

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

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 …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

823 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