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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T20:46:26+00:00 2026-06-04T20:46:26+00:00

I am looking over the docs on this page . They have examples like

  • 0

I am looking over the docs on this page. They have examples like these …

$("p").on("click", function(){
alert( $(this).text() );
});

$("form").on("submit", false)

$("form").on("submit", function(event) {
  event.preventDefault();
});

Why is this better or how is it different than this …

$("p").click(function(){
alert( $(this).text() );
});

$("form").submit(false);

$("form").submit(function(event) {
  event.preventDefault();
});

As a final question why would you want to do this …

$("form").on("submit", function(event) {
  event.stopPropagation();
});

instead of …

  $("form").submit(function(event) {
      event.preventDefault();
  });
  • 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-04T20:46:27+00:00Added an answer on June 4, 2026 at 8:46 pm

    Differences Between jQuery .bind() vs .live() vs .delegate() vs .on()

    The biggest take aways from this article are that…

    Using the .bind() method is very costly as it attaches the same event handler to every item matched in your selector.

    You should stop using the .live() method as it is deprecated and has a lot of problems with it.

    The .delegate() method gives a lot of “bang for your buck” when dealing with performance and reacting to dynamically added elements.

    That the new .on() method is mostly syntax sugar that can mimic .bind(), .live(), or .delegate() depending on how you call it.

    The new direction is to use the new .on method. Get familiar with the syntax and start using it on all your jQuery 1.7+ projects.

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

Sidebar

Related Questions

Have been searching over the Graph API docs, looking for the answer to this.
I have been looking over the internet for a while about this, but it
I have been looking over this code for the past hour, I cant see
I have been looking over the web for this but I can't seem to
I cannot find this documented anywhere and after looking over Google's api docs for
I've been looking over django's multi-db docs. I'd like to break a few of
So, i was looking over some earlier code and found this random plus sign
I have a little / weird behaviour here and Im looking over internet and
While looking over the doc's for urldecode() I came across this note: The superglobals
I have been looking over the web but have not come across an answer

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.