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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T00:34:15+00:00 2026-06-18T00:34:15+00:00

For example, jQuery’s .live() is deprecated and instead we must use .on() and for

  • 0

For example, jQuery’s .live() is deprecated and instead we must use .on() and for MySQL, mysql_* will soon be deprecated and move onto something else… more noteably… mysqli.

Why do frameworks and programming languages deprecate old functions instead of just updating them? Sorry if this is in the wrong place. If it is, tell me where I should post.

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

    When the design of the function has changed, they want to offer a period of time where both old and new functions are offered (a transition time) and then at some future date, the old version is removed. This could not be done if they kept the same name for the new behavior. .live() and .on() take different arguments and work differently. .on() is more powerful and can be made to simulate .live() if desired, but the two are not compatible without changing the calling code.

    Introducing the new feature with a new behavior, also simplifies the documentation process since it’s completely clear which behavior is documented (by which name it’s writing about).

    And, when old code includes the newest latest version that no longer supports the old way of doing things, it is much clearer why things don’t work when .live() is not even present than if it was present, but had the wrong behavior.

    And, old behaviors like .live() are eventually removed from the code because they are a bad way of doing things (that can lead to significant inefficiencies) so jQuery wants everyone to eventually stop using them. Removing it from future versions is a way of forcing it’s usage to decline and eventually go away. The transition period gives the developers a significant amount of time to learn about the need to change and to implement/test the change.

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

Sidebar

Related Questions

In jsfiddle is possible to use for example jQuery. But I cannot see any
In the Jquery example below, I would like to expand $(this) before it is
The following jQuery example should put some text into the div, but it doesn't.
Looking at this jQuery example, how can I modify the code so that it
I try to understand this example from jquery api in this snippet var tags
Here I am doing a basic trigger example but jquery is unable to execute
In Jquery Template website they gave this example.( http://api.jquery.com/jQuery.template/ ) <script> var movies =
looking at this example of the jquery ui slider http://jqueryui.com/demos/slider/#steps i want to be
I am trying to reproduce a simple jquery slider example that works on this
Taking the jQuery framework for example, if you run code like this: $(document).ready(function init()

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.