473,396 Members | 1,749 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

IE9 not refreshing when Ajax request returns

Frinavale
9,735 Expert Mod 8TB
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...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:
Expand|Select|Wrap|Line Numbers
  1.     _hideBlockingDiv: function() {
  2.         if (this.get_blockingDivClientID()) {
  3.             var blockingElement = $get(this.get_blockingDivClientID());
  4.  
  5.             if (blockingElement != null) {
  6.                 blockingElement.style.display = 'none';
  7.             }
  8.             //if I add the alert then everything works fine in IE9
  9.             //if I don't then the page will remain the same until the user moves their mose
  10.             //alert("done");
  11.         }
  12.     }
Thanks

-Frinny
Mar 18 '11 #1
2 2714
Dormilich
8,658 Expert Mod 8TB
not sure if it helps in this case, but sometimes setting a little timeout solves such issues.
Mar 19 '11 #2
Frinavale
9,735 Expert Mod 8TB
I uninstalled IE9.
Installed Windows Service Pack 1....
I'm going to try installing IE9 again in a week or so and try again.
Mar 23 '11 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

17
by: petermichaux | last post by:
Hi, Is it possible for an AJAX request to be left open for multiple responses? This could avoid repetitive polling of the server. Thanks, Peter
5
by: dougwig | last post by:
I'm trying to handle the scenario where a user's session times out and and their ajax request triggers a redirection by the webserver (302 error?). I'm using Prototype 1.4 and the my works great...
0
by: arunprabu | last post by:
Hi, I have a problecm with the AJAX request in my webpage. I have some filters on top of the page. I have a submit button and an empty div below the filters. Some of the filters have ajax...
3
by: Simon | last post by:
I have the following code in Javascript which is creating and sending an XMLHttpRequest . <code> var xmlHttp; /*@cc_on @*/ /*@if (@_jscript_version >= 5) try { xmlHttp = new...
14
by: FMDeveloper | last post by:
Currently transitioning from a shared host to a dedicated server. The same code that works on the old server is not working on the dedicated server. It is a simple AJAX request like: <code>...
1
by: nikki.farrah | last post by:
Hi all, this is my first time posting so any help is appreciated! I am doing a simple AJAX request to our server, and I would like the cursor style changed to 'wait' when the user clicks a button...
7
by: Sebarry | last post by:
Hi, I have a Javascript function that creates an Ajax Request object in order to retrieve data from a database using a PHP script. The Javascript function is invoked by another Javascript function...
8
by: alejrb | last post by:
Hi! I have a pretty simple AJAX request that just GETs the content of a page depending on a name that is fed to it. I'm parsing the page in quite a complex way, so I'm using the DOM to make it a...
2
by: Nathan Sokalski | last post by:
I have a Validator that uses callbacks in the javascript client-side evaluation. the client-side JavaScript function specified in the WebForm_DoCallback function does not complete until the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.