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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T08:52:04+00:00 2026-05-27T08:52:04+00:00

just wanted to know if it is programatically possible to halt the execution of

  • 0

just wanted to know if it is programatically possible to halt the execution of script the same way javascript function “confirm” does. “confirm” stops further execution of script until user input, i want to acheieve same thing for BlockUI plugin of Jquery.

  • 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-27T08:52:05+00:00Added an answer on May 27, 2026 at 8:52 am

    No, you cannot.
    confirm, like the alert function, is a modal dialog, which is nothing more than a child window that requires users to interact with it before they can return to operating the parent application, thus preventing the workflow on the application main window.
    Javascript has no sleep-ing mechanism. If you want to stop the execution of a script… it’s only possible by executing another script that is memory/CPU expensive (such as an infinite loop) that will freeze the browser (thus stopping the targeted script from executing), but that kind of defeats the purpose.
    If you know what you want to do, you can organize your code in such a manner that you can simulate the sleep process.
    A good way of doing that is using callbacks combined with timeouts:

    function f1(callback){
        // do some stuff
        // decide how much you want to wait
        setTimeout(callback,how_much_you_want_to_wait);
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Just wanted to know if it is possible to disallow the whole site for
I just wanted to know if it is 100% possible, if my language is
just wanted to know how to call php script from running C code on
just wanted to know what is the best and easiest way to show a
I just wanted to know whether it is possible to pass geocoords to the
Just wanted to know if I can use Linq on Javascript arrays. If not
Just wanted to know if this function's results will always hold? private int calcHourDiff(int
Just wanted to know if what I'm trying to do is possible since I
I just wanted to know why Excel-2007 record macro does not write anything for
I just wanted to know if it would be possible to trick the app

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.