Solved

alt or tooltip for each option of the select box

Posted on 2002-05-28
2
207 Views
Last Modified: 2006-11-17
Hi,
  Is there any property for select tag, which we can use as  tooltip or alt property or title property(in case of text area)?
Annus
0
Comment
Question by:Annus
2 Comments
 
LVL 33

Expert Comment

by:knightEknight
ID: 7039180
The SELECT tags currently do not support the title attribute (or alt), but what you are asking for might be done with a script.   But the short answer to your question: "Is there any property for ..." is no.
0
 
LVL 12

Accepted Solution

by:
ahosang earned 50 total points
ID: 7039417
The select tags and option tags do indeed have the title attribute. The problem is that there not supported by Internet Explorer and Netscape 4.x, so you would have to use messy scripting for that(>90% of the browser market). But when you find such a script, you don't have to use such scripting for Netscape 6+.

Simply use:
<select title="This is a toolptip">

That works as it should.
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

This article shows how to create and access 2-dimensional arrays in JavaScript.  It includes a tutorial in case you are just trying to "get your head wrapped around" the concept and we'll also look at some useful tips for more advanced programmers. …
In Part 1 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7849-Hex-Maze.html) we covered the hexagonal maze basics -- how the cells are represented in a JavaScript array and how the maze is displayed.  In this part, we'…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

831 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