Liron Harel
Liron Harel

Reputation: 11247

Block UI Jquery plugin for a specific DIV

Anyone knows a JQuery plugin for BlockUI that allows blocking a specific DIV, not just the whole page. Thanks.

Upvotes: 8

Views: 22668

Answers (3)

Soni
Soni

Reputation: 21

$.blockUI({
  message: $("#divid"),

  css: {
    position: 'absolute',
  }
});

Upvotes: 2

Mrchief
Mrchief

Reputation: 76258

You can do it thru blockui plugin

Upvotes: 11

Andrew Whitaker
Andrew Whitaker

Reputation: 126082

You can do this natively with BlockUI: http://jquery.malsup.com/block/#element

$('div.test').block({ message: null })

Upvotes: 10

Related Questions