Solved

alt or tooltip for each option of the select box

Posted on 2002-05-28
2
205 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

In this article, we'll look how to sort an Array in JavaScript, including the more advanced techniques of sorting a collection of records either ascending or descending on two or more fields. Basic Sorting of Arrays First, let's look at the …
This article discusses the difference between strict equality operator and equality operator in JavaScript. The Need: Because JavaScript performs an implicit type conversion when performing comparisons, we have to take this into account when wri…
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…

863 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

Need Help in Real-Time?

Connect with top rated Experts

28 Experts available now in Live!

Get 1:1 Help Now