Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

simple example for .blockUI in jquery

Tags:

jquery

blockui

Please guide me to the purpose of blockUI with a simple demonstration.

like image 227
user182401 Avatar asked Oct 26 '09 13:10

user182401


People also ask

How to Block UI in jQuery?

BlockUI adds elements to the DOM to give it both the appearance and behavior of blocking user interaction. Usage is very simple; to block user activity for the page: $. blockUI();

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.

What is UI Block?

The user interface block (UIB) is the control block used by the CALL and CALL DL/I interfaces to pass response codes and the PCB address list to application programs using CALL DL/I services. The UIB is acquired when a task issues its first PSB schedule request specifying that it requires a UIB.


1 Answers

Take a look at the demos on the plugin page.

You need to do have the following in a page (in this order)

  1. Add a reference to the jQuery core script
  2. Add a reference to the Block UI script
  3. Add the jQuery code required to achieve the overlay when it is required
like image 155
Russ Cam Avatar answered Sep 18 '22 19:09

Russ Cam