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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T12:11:38+00:00 2026-06-09T12:11:38+00:00

Can anyone help me with the one of my doubts? while reading jquery tutorials

  • 0

Can anyone help me with the one of my doubts?

while reading jquery tutorials online, i come across some terms which I dont have the right understanding about.

for eg: “Default action”, “bubbling up” etc.

So, when we say cancel a default action and prevent it from bubbling up for the below code:

$("a").live("click", function() { return false; })

what is the default action here? does it mean cancelling the “live” action when they say cancel a default action? Also, if it needs to be cancelled why use it at the first place?

Also, what does “prevent it from bubbling up” mean?

Any help would be appreciated.

  • 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-09T12:11:39+00:00Added an answer on June 9, 2026 at 12:11 pm

    what is the default action here?

    It’s regular browser’s handler of the clicking on the link – which causes changing url in address bar

    does it mean cancelling the “live” action when they say cancel a default action?

    No it doesn’t. return false; prevents default action which is a regular click on the link, which leads to changing the page (usually)

    Also, if it needs to be cancelled why use it at the first place?

    You can cancel in any place of the handler, doesn’t matter

    Also, what does “prevent it from bubbling up” mean?

    If you don’t prevent the event from bubbling – it will bubble up by the DOM tree from the current element to the root.

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

Sidebar

Related Questions

Can anyone help me with this one? My objective here is to grab some
Can anyone help me for a Java code which copy or move one folder
Can anyone help me. I have a table containing a nested table in one
Liferay migration from one server to another help required. Can anyone share there steps
Can Any one help me reading this XML and Looping through <MedicationDispensed> I get
Hi please can anyone one help me in disabling developer details getting inserted by
I need to block one IP address or class in asp.net Can anyone help
Can anyone help me on how I have to run a java application which
what is requery in vb6? how to use that one? can anyone help ?
Can anyone one help me optimize this query SELECT `debit_side`.`account_code` CODE, GROUP_CONCAT(DISTINCT accounts.name) 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.