How can I test if some div is blocked ?
I’m using BlockUI plugin.
$("#containerVenda").block({ message: "Block" });
I want to do a IF statement to know if the DIV is blocked or not.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
I looked into the plugin’s code, and it seems it doesn’t expose any methods to test if an element is blocked or not. However, it sets some data to the element, which you could try checking. Something like this: