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

  • Home
  • SEARCH
  • 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 8057243
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T08:58:05+00:00 2026-06-05T08:58:05+00:00

I have a web page I’m working on with jQuery. I’m getting erratic behavior

  • 0

I have a web page I’m working on with jQuery. I’m getting erratic behavior from some elements on my page: Every time a button, any button, on the page is clicked, the page refreshes.

The page must somehow be running some code that reloads that page any time a button is clicked.

I’m completely stumped trying to figure out where the code is getting bound to the click handler, so I would like to know if it is possible to enumerate, at run-time, a list of handlers attached to a button.

Update: After reading the answers given below, I changed a line in my page:

<button id="btnSaveAndContinue" class="button" tabindex="290">Save and Continue</button>

to this:

<input type='button' id="btnSaveAndContinue" class="button" tabindex="290" value='Save and Continue' />
  • 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-05T08:58:08+00:00Added an answer on June 5, 2026 at 8:58 am

    This is the default behaviour of a button. If you want to change it, do something like this:

    $("button selector").click( function(event) {
      event.preventDefault();
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have web page i want that when page is loaded after some time
I have web page its performance is verly its taking long time to load
I have a web page, which heavily uses jquery.address plugin. Now I need to
I have web page with some really large tables that I'm filtering using some
I have a web page with a lot of list elements (close to 3000).
I have a web page that loads two images from a css sprite like
I have a web page with a button that opens up a popup page
I have a web page that is using JQuery to communicate with the backend.
I have web page in ASP.NET. I have created Tree View control with jQuery.
I have a web page in ColdFusion which shows contents from a SQL table.

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.