473,545 Members | 2,115 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to display a message when rolling over select options in dropdown

1 New Member
I'm working with some dynamic pages and I want to implement an event that fires when I rollover the options in a Select control, I mean before of select the value, this is for displaying a description of comments while you are working with it.

For example... I have a dropdownlist (select) about Employee Area names, when I enter to the Dropdownlist and list (or display) all the options I can move the cursor (mouse) through and while I locate the pointer over one option I want to display a message (div or modal box) with the description of the Area without need to change the value of the list.
May 18 '10 #1
1 1546
Dormilich
8,658 Recognized Expert Moderator Expert
the most simple way would certainly be a tooltip (title attribute), but a mouseover should work too (I noticed that if you use modal windows, the select will not keep unfolded)
May 19 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
1203
by: Dan Watson | last post by:
Hello, I am currently working on a web site for my company but need a little help regarding a Select control on a form. I was wondering is there a way that when you have an Option with text that is too long to fit in the specified width, whether there is a way that when the mouse hovers over it, the whole text becomes visible? Any help on...
1
5357
by: Mohammed Shafiulla Khadri | last post by:
hi, I have the following piece of html code in a page <table width="90%" border="0" align="left" cellpadding="0" cellspacing="0"> <tr> <td width="26%">&nbsp;&nbsp;&nbsp;day</td>
1
2237
by: eric.goforth | last post by:
Hello, I have the following select control: <SELECT name="Currency"> <OPTION VALUE="1">$-USD-US Dollar</OPTION> <OPTION VALUE="2" SELECTED >£-GBP-British Pound</OPTION> <OPTION VALUE="3">€-EUR-Euro</OPTION> <OPTION VALUE="4">$-CAD-Canadian Dollar</OPTION> <OPTION VALUE="5">$-AUD-Australian Dollar</OPTION>
6
3227
by: TCook | last post by:
Hello, I was wondering if anyone has a code snippet for looping through a 'select' control's 'option' elements? Do I have to use an ASP.Net web control such as an asp list control or dropdown to do such a thing? Thanks,
0
1161
by: TCook | last post by:
Hey All, I'm trapping a 'submit' button's 'Click' event in a VB.Net code behind class in order to loop through a 'Select' controls 'option' list as follows: For Each ThisItem In Me.MySelect.Items If ThisItem.Selected = True Then ' Do something End If Next
1
2868
by: bambr | last post by:
I'm using following code: function cloneRow(tBodyId, sourceRowId) { var obj = document.getElementById(tBodyId); if(obj.tagName != 'TBODY') { for(var i = 0; i < obj.childNodes.length; i++) { if(obj.childNodes.tagName == 'TBODY')
1
2886
by: swapna.munukoti | last post by:
Hi all, Is there a way to display some text in html select control by default which when the control is clicked, will not be listed in the drop down that contains its options. For example: When I open a page, there is a combo box with "Select" displayed in that. It looks like that item is selected. But when I click that combo box, it...
2
2146
by: j.t.w | last post by:
This is probably very easy. How do I set an HTML select control's value from the querystring? This is what I have...but, only the select control's value doesn't get set. CustomerSelect.Value = Request.QueryString("cus") StartDate.Text = Request.QueryString("Sdate") This works...
0
1506
by: cmrhema | last post by:
Hi, I have two controls one html select control and one asp.net dropdownlist control. In html select control i have three maps loaded. It is loaded in the following manner. <SELECT class="TextBoxLabel" id="ddlMap" style="WIDTH: 128px;" tabIndex="1" onchange="fnChangeMap();" name="ddlMap" runat="server">
0
7468
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7401
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
1
7423
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7757
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5972
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5329
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4945
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3450
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3443
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.