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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T00:16:47+00:00 2026-06-13T00:16:47+00:00

$(.hovertip).parent().live(‘hover’, function() { … The above code doesn’t seem to register. This doesn’t seem

  • 0
$(".hovertip").parent().live('hover', function() {
  ...

The above code doesn’t seem to register.

This doesn’t seem to work either:

$(".hovertip").parent().live({
  mouseenter:
    function() {
    ...

Any examples of .live, .delegate, .bind, or .on working with a jQuery selector and a .parent() selector with .hover() or mouseenter: and mouseleave:?


Update: I’ve created a separate question to address the dynamic DOM issue this Question has raised: jQuery .on() with a .parent() and dynamic selector

  • 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-13T00:16:48+00:00Added an answer on June 13, 2026 at 12:16 am

    Try:

    $(".hovertip").parent().on('hover', function() {
        alert('yay');
    });
    

    Note: .on was introduced in jQuery 1.8.

    Working demo http://jsfiddle.net/pRB8n/ Hover over test test – in the demo

    If you really want to use .delegate try this please: http://jsfiddle.net/TURBX/2/ – http://api.jquery.com/delegate/

    Delegate
    Attach a handler to one or more events for all elements that match the
    selector, now or in the future, based on a specific set of root
    elements.

    Hope rest fits the needs :)

    P.S. – .live is deprecated: for further if you keen – my old post here: 🙂 What's wrong with the jQuery live method?

    under category you will see: http://api.jquery.com/live/ “deprecated”

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

Sidebar

Related Questions

$(.hovertip).parent().on('hover', function() { alert('yay'); }); I'd like to get something like the above working
I seem to be unable to change the onmouseover attribute of a div using
I am using FullCalendar v1.5.3 by Adam Shaw. I've gotten almost everything to work
I have created a jsFiddle for this question. a.tip { position: relative; } a.tip
I am using a tooltip plugin (developed in house by someone who is on
I am finally getting around to really implementing some jQuery solutions for my apps
I have added an img tag inside title attribute,but the img tag shows as

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.