How to use jquery blockUI
Asked Answered
D

2

5

I want to use jQuery blockUI but on their site they have not given what js to include, what css to use. Can sombody please give me a example with complete js and css included to show how to use jQuery blockUI.

Destructible answered 23/4, 2012 at 8:4 Comment(0)
U
11

All you need to do is loading the BlockUI script after including jQuery. It does not need any CSS to work.

See this fiddle for a most simple demo: http://jsfiddle.net/ThiefMaster/4FhHK/

Unclose answered 23/4, 2012 at 8:11 Comment(3)
What version of jquery does this work with? I'm using 1.10.4 and the blockUI function doesn't seem to be there. If I do alert($) I can see the jquery object but aleret($.blockUI) shows as undefined.Tawnytawnya
Did you load the blockUI plugin? It's not part of jQuery itself.Unclose
I did not, that was the problem. I'm now using the file marked as Version 2.70.0-2014.11.23. I also upgraded to jquery 3.1.1. But I am now having this problem: #41924167Tawnytawnya
M
-1

add this file after the jQuery reference

and then use the commands.

Motivation answered 23/4, 2012 at 8:5 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.