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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T01:08:13+00:00 2026-05-30T01:08:13+00:00

I encountered a never ending Loading dialog when moving from one page to the

  • 0

I encountered a never ending “Loading” dialog when moving from one page to the next, because the next page had a JS error in it.

Is there a way to avoid the loading message and instead show an error message?

Edit:
To clarify, I am looking for a solution that displays an error message to the user (like “We encountered a problem. Please contact the system administrator”). It would also be great to return to the previous page, so a user can continue to use the app. As it is right now, a JS error stops them cold in their tracks.

  • 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-30T01:08:14+00:00Added an answer on May 30, 2026 at 1:08 am

    It is possible to detect and react to page loads that failed using something like:

         $('#pagename').live('pageloadfailed', function () {
         alert('page load failed.');
         });
    

    But a true Javascript error is handled at the browser level, and will stop execution when encountered.

    Your best best would be to encapsulate the potential javscript problem in a try ... catch block and add some logic around it.

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

Sidebar

Related Questions

I've never encountered task of transforming XML from one form to another. I hear
Here's one I've never encountered before. Is it possible to make a font scale
I have never encountered an error like this before. I was using prepared statements
I'm not sure if it's because I haven't slept or because I've never encountered
I can honestly say I've never encountered this one before: I have two .ascx
On Windows I have a problem I never encountered on Unix. That is how
While I've seen rare cases where private inheritance was needed, I've never encountered a
I encountered the above error message after applying the OutputCache attribute on ActionResult methods
I encountered a strange problem today. Whenever i put a breakpoint in one of
OK, for those who have never encountered the term, a quine is a self-replicating

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.