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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T04:56:01+00:00 2026-05-26T04:56:01+00:00

I have a JavaScript class that displays a partially-opaque div over top of the

  • 0

I have a JavaScript class that displays a partially-opaque div over top of the content of another div when an Ajax request is sent to the server.

When the request returns, the JavaScript class hides the partially-opaque div….it works great…sort of.

Right now, in IE9, when the Ajax request is complete, the partial-opacity is only hidden if the user moves their mouse.

So, my question is, how do I force the browser to do what it’s supposed to do?

This is my extremely simple function that is called after the request returns to the browser:

_hideBlockingDiv: function() {
    if (this.get_blockingDivClientID()) {
        var blockingElement = $get(this.get_blockingDivClientID());

        if (blockingElement != null) {
            blockingElement.style.display = 'none';
            //I know that this method is executing correctly because I "hi" showed
            //up properly...but the element remained visible:
            blockingElement.innerHTML = 'hi';
        }
        //if I add the alert then everything works fine in IE9
        //if I don't then the page will remain the same until the user moves their mose
        //alert("done");



    }
}

Please note that I am not using JQuery.
I am using the AJAX.NET library since I am a .NET developer (and JQuery didn’t become popular until years after I implemented my Ajax-enabled server controls)

Thanks

-Frinny

  • 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-26T04:56:02+00:00Added an answer on May 26, 2026 at 4:56 am

    It turns out that the problem only exists in the beta version of IE9 that I was using at the time. This problem went away once the full version of IE9 was released.

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

Sidebar

Related Questions

I have a small class that displays an alert via Javascript. I am using
I have some javascript that goes out and fetches a javascript class on another
I have a JavaScript class that I have made and put it into its
I have a javascript function (class) that takes a function reference as one paremter.
I have a class that stores paths to CSS and Javascript files in arrays.
I have a span that is generated through javascript, with its css class as
I have Javascript that opens another window and registers a click handler for all
I have a button class that I wrote in CSS. It essentially displays block,
New to Rails and even newer to Ajax. I have a page that displays
I have a javascript code (i) that write several <div><a href=...></a></div> inside the <div

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.