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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T23:04:50+00:00 2026-06-05T23:04:50+00:00

The live() method was deprecated in jQuery 1.7. The jQuery docs now recommend Use

  • 0

The live() method was deprecated in jQuery 1.7. The jQuery docs now recommend

Use .on() to attach event handlers. Users of older versions of jQuery should use .delegate() in preference to .live().

I understand how on and delegate work, but I don’t understand why they are better. live() is simpler and easier to use.

Is there a reason why live was deprecated? How are the other methods better? Will anything bad happen if I continue to use live?

  • 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-05T23:04:52+00:00Added an answer on June 5, 2026 at 11:04 pm

    See some of the explanations here:

    http://www.ultimatewebtips.com/why-jquery-live-is-a-bad-option-to-use/ (Site appears to be down)

    Quote:

    1. You can’t use .live() for reusable widgets.

    2. .stopPropagation() doesn’t work with live.

    3. .live() is slower.

    4. .live() is not chainable.

    Further beauty of .on() is that it streamlines all events quite well: http://api.jquery.com/on/

    D’uh you know about the api link and see how .on() works 🙂

    Quote:

    The .on() method attaches event handlers to the currently selected set
    of elements in the jQuery object. As of jQuery 1.7, the .on() method
    provides all functionality required for attaching event handlers. For
    help in converting from older jQuery event methods, see .bind(),
    .delegate(), and .live(). To remove events bound with .on(), see
    .off(). To attach an event that runs only once and then removes
    itself, see .one()

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

Sidebar

Related Questions

I have a plugin that uses the .live method (now deprecated) to execute code
I was just reading http://api.jquery.com/event.stopPropagation/ Since the .live() method handles events once they have
How do I stop a click event handler added with jQuery's live method from
I am using jQuery v.1.7.1 where the .live() method is apparently deprecated. The problem
As described on http://api.jquery.com/live/ : As of jQuery 1.7, the .live() method is deprecated.
Since the live() method is deprecated as of version 1.7, I started going through
I want to use the live method to hide an element if the user
as I read, the jquery .live() method will not be available in the future.
Jquery stopPropagation method dosen't work with live method. Below the code is works fine
my actual problem is that .live() jQuery method is not working. This si the

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.