[jQuery] asynchronous, IE, and BlockUI
I have the exact same problem as this post below from a while back,
which got no valid response. The reason that I need to use synchronous
calls is that on some ajax submittals we either submit the entire page
or return a message to the user, depending on validations -
asynchronous will not work for my purposes. Does anyone have any
advice on getting BlockUI to work in this scenario?
Thanks in advance for your feedback!
The original post:
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/