Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

alt or tooltip for each option of the select box

Posted on 2002-05-28
2
Medium Priority
?
224 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 150 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
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…
Suggested Courses

927 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