Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use jquery blockUI

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.

like image 859
Sandeep Kumar Avatar asked Apr 23 '12 08:04

Sandeep Kumar


People also ask

What is BlockUI in jQuery?

The jQuery BlockUI Plugin lets you simulate synchronous behavior when using AJAX , without locking the browser. When activated, it will prevent user activity with the page (or part of the page) until it is deactivated.

What is the use of BlockUI?

The BlockUI plugin is used to simulate synchronous AJAX behavior. When activated, it stops the user from interacting with the page until it is deactivated.


1 Answers

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/

like image 101
ThiefMaster Avatar answered Sep 30 '22 01:09

ThiefMaster