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 8557337
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T15:33:06+00:00 2026-06-11T15:33:06+00:00

I need to know how to fix this problem. I have a mouseleave event

  • 0

I need to know how to fix this problem. I have a mouseleave event on my list.

jQuery(".list").live("mouseleave", function(event) {

    alert("Boom");

});

But at the same time I have a tooltip displayed over it. This tooltip doesn’t belong to this list, it is in other div.

Now, when i move mouse over that div, i get an alert – i left the list.

Please, tell me how i can do that when i move mouse in this tooltip, there will be no action.

I’ve tried this sentence, but it doesn’t work:

if($(event.target).hasClass('name')) alert("D");
  • 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-06-11T15:33:08+00:00Added an answer on June 11, 2026 at 3:33 pm

    You could use the relatedTarget property from the mouseleave event, this contains an object of the element which the mouse was over at the time the mouseleave event fired:

    jQuery('.list').bind('mouseleave', function(event) {
      if(jQuery(event.relatedTarget).attr('id') != 'yourToolTipId') {
        alert("Boom");
      }
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this big problem that i dont know how to fix. I have
Need to know this so that i could send DTMF and that is going
Need to know which event triggered after text selection done in Apple iPad. It
I need to know how to change background of expanded list item when it
In the callback of a HttpRequest I have, I run this jQuery code: $(input[value='+data.notetype+']).click();
I know how to fix the problem that I am about to outline, however,
I have a script that I need to reverse engineer, but the script appears
I'm having a hard time with this problem, but I've narrowed it down to
I have a wierd problem that i need to work out how to resolve,
I have been having this problem for the last few days and I can't

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.