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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T15:45:35+00:00 2026-05-15T15:45:35+00:00

I think I have a problem with multiple clicks on the same button. I

  • 0

I think I have a problem with multiple clicks on the same button. I thought I solved it but I think there is 2 problems not the orignal one problem that I thought.

The first problem was if they clicked a button(say a save button) it would do that many save ajax posts.

So if they clicked on it 5 times because they where impatient it would do a save 5 times what in some cases could make the server crash but most of the time just made weird results. So I found a great plugin to make sure duplicate requests could not be made and I thought the problem was solved.

However I have some buttons where you click on it and it makes a jquery ui dialog and I belive that if you click on that button 5 times it messes up the dialog. Like It does not make 5 dialogs but I noticed the controls in the forms don’t work all of a sudden.

So if I just click on a button and the dialog is created it works fine. If I click the button 5 times before the dialog is finished rendering I don’t see validation errors anymore sometimes the datepicker in it is gone.

It just does not work.

So I think I need something to stop this mass clicking so I was thinking of when one button is clicked all buttons are disabled till it is finished loading up whatever. I am not sure if this is the best way to do it thats why I am asking.

I am also not sure where to put the code. would be great to have it in one global area or something so I don’t have to put it in every method.

Thanks

  • 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-05-15T15:45:36+00:00Added an answer on May 15, 2026 at 3:45 pm

    There’s a jQuery plugin designed to help prevent user click interference while specific processing takes place:

    BlockUI by malsup

    (Additional reading: article about BlockUI)

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

Sidebar

Related Questions

i have a problem that i can't solve ! (sqlite3, but i think it
I am trying to solve this problem http://www.spoj.pl/problems/PEBBMOV/ . I think I have the
I think I have a problem with casting. $db = mysqli_connect('127.0.0.1','root','password','test'); if (! $db)
I think I have a problem in understanding the proper way of using MVC.
I think I have a big problem. I have a two projects solution. First
I think I have a synchronization problem...It may be too basic..Please help.. I have
I think i have a basic problem in understanding the dojo toolkit. Well I
I have a problem with a template and pointers ( I think ). Below
I have a problem which makes me crazy. I think it is very easy
Hi I have a problem in sending data from php to pdf. I think

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.