Is there a way to tell if $.blockUI(); has been called but $.unblockUI() has not been called? Ideally this should be able to work for both blocking the full page and specific elements.
I'd expect it to work something like this
> $.blockUI();
> $.isBlockUI?():
>> true
> $.unblockUI();
> $.isBlockUI?();
>> false
Look what I found here
Evidently there's one for Block and unBlock sorta like a onSuccess function. So on the onBlock function you'd simply just set a global boolean value.
Hope this helps!
Happy Coding! ;)
I use a more primitive hack :
This works for me even when using
.dialog()
withmodal:true