Solved

alt or tooltip for each option of the select box

Posted on 2002-05-28
2
215 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

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 …
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…
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…

734 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