BlockUI doesn't want to load correctly in IE. The JQuery routine I'm
running contains an Ajax call that takes a while. I call .blockUI
before calling a synchronous Ajax call and .unblockUI afterwards. It
works as expected in FF but in IE (both 6 and 7) the screen freezes
until the Ajax call completes then shows the BlockUI message for a
brief second.

I'm using JQuery 1.2.6 and BlockUI 2.0

Here is the basic gist of my code

$.blockUI({message: '<b>Compiling data for your report</b><br/
>...please wait.'});
$.ajax({type: "POST", url: "sample.htm", async: false});
$.unblockUI();

As I mentioned the Ajax call can take upwards of 15 seconds. I've
tried the following to no avail:
- I set the block/unblock call in ajaxStart and ajaxStop
- I changed the page header from transitional to strict
- I used setTimeout to try to stall the Ajax call (thinking the
browser animation just needed time to load)
- I set a delay on "sample.htm" to ensure it would load nothing for 5
seconds

Help!

Reply via email to