Solved

alt or tooltip for each option of the select box

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Title # Comments Views Activity
Sending ASP to server side 8 32
Can't get js code to execute 8 32
modify change color of text 9 37
Make a span connected to the price so when qty changes so does pricing 11 29
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
This article discusses how to create an extensible mechanism for linked drop downs.
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…

733 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