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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T02:22:15+00:00 2026-05-19T02:22:15+00:00

I have this code, I added JS Script file to my Master page. <script

  • 0

I have this code,

I added JS Script file to my Master page.

 <script src="/Scripts/Jquery.blockUI.js" type="text/javascript"></script>

This Below code I have in my master page.on document.ready

<script type="text/javascript">
    $(document).ready(function () {
        $.blockUI({ message: $('#question'), css: { width: '275px'} });
        }); 
</script> 
<div id="question" style="display:none; cursor: default"> 
    <h2 class="padding"><br />An unexpected system error has occurred while processing your request.<br /></h2>
    <h3>We apologize for this inconvenience.<br />
     Please report this error to your system administrator with the following information:<br /><br />
     Session id is:</h3>
     <input type="button" id="OK" value="OK" /> 
</asp:Content>

On my Document.ready Function my BlockUi is not working?

can any body tell me why its not working?

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-19T02:22:16+00:00Added an answer on May 19, 2026 at 2:22 am

    Just going over some of the syntax in the blockUI Documentation and they had the following example:

    $.blockUI({ message: '<h1><img src="busy.gif" /> Just a moment...</h1>' });
    

    so for your case you might need:

    $.blockUI({ message: $('#question').html(), css: { width: '275px'} });
    

    I’m not sure if that .html() might help, you may want to try innerHtml() as well. I haven’t used blockUI before, so just a shot in the dark here.

    Hope it helps 🙂

    EDIT: I stand corrected, your syntax seems to be correct according to the demo found here. It must be some syntax or reference error somewhere.

    The issue could also be a lack of jQuery referencing in your script files (as blockUI requires at least v1.2.3+ of jQuery. Try putting the following in your scripts area to see if that solves your problem, or you could use the link below (in comments) to download the most recent version.

    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this script that I'd like to in addition save as a xls
I have a php script that handles the admin section/creation of pages for my
is it possible to call 7-zip from a SQL script? basically i am extracting
Note, this might perhaps be best suited on serverfault.com, but since it is about
I have a directory full of XML files. For each of these files I
I've asked another related question to this here: casting dynamic to static problem I've
I'm having a really difficult time understanding how this all works together. I've fiddled
I am using ant for building my projects, This project needs more memory then
i've been playing with MVC for a while now, but since the project i'm
I'm attempting to hack a wordpress plugin to gain some extra functionality. As it

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.