Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 549421
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T11:10:58+00:00 2026-05-13T11:10:58+00:00

I have to implement the tooltip feature for drop down. Also, tooltip will not

  • 0

I have to implement the tooltip feature for drop down. Also, tooltip will not be any static text, it should be the selected value of drop down.
How can i do this in jQuery?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T11:10:58+00:00Added an answer on May 13, 2026 at 11:10 am

    I got the soultion:

    Just in case you wanted to know how i did that:-

    jQuery('#myDropDownID').hover(function(e){
                    var tipX = e.pageX + 12;
                    var tipY = e.pageY + 12; 
                    jQuery("body").append("<div id='myTooltip' class='portal-tool-tip' style='position: absolute; z-index: 100; display: none;'>" + jQuery("OPTION:selected", this).text()  + "</div>");
                    if(jQuery.browser.msie) var tipWidth = jQuery("#myTooltip").outerWidth(true)
                    else var tipWidth = jQuery("#myTooltip").width()
                    jQuery("#myTooltip").width(tipWidth);
                    jQuery("#myTooltip").css("left", tipX).css("top", tipY).fadeIn("medium");
                }, function(){
                    jQuery("#myTooltip").remove();              
                }).mousemove(function(e){
                    var tipX = e.pageX + 12;
                    var tipY = e.pageY + 12;
                    var tipWidth = jQuery("#myTooltip").outerWidth(true);
                    var tipHeight = jQuery("#myTooltip").outerHeight(true);
                    if(tipX + tipWidth > jQuery(window).scrollLeft() + jQuery(window).width()) tipX = e.pageX - tipWidth;
                    if(jQuery(window).height()+jQuery(window).scrollTop() < tipY + tipHeight) tipY = e.pageY - tipHeight;
                    jQuery("#myTooltip").css("left", tipX).css("top", tipY).fadeIn("medium");
                });
    

    See here:
    http://jsbin.com/owoka

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have to implement MPI system in a cluster. If anyone here has any
Not very technical, but... I have to implement a bad words filter in a
I have to implement the VinPower application. They offer a Java version, a C
I have to implement a middleware system for file sharing, and it has to
Let's say I have to implement a piece of T-SQL code that must return
Working on a project at the moment and we have to implement soft deletion
For a project I have a specification with formulas, I have to implement. In
I was having a discussion with coworkers. We have to implement some security standards.
I have been trying to implement Win32's MessageBox using GTK. The app uses SDL/OpenGL,
I have a requirement to implement an Unsaved Changes prompt in an ASP .Net

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.