Anyone knows a JQuery plugin for BlockUI that allows blocking a specific DIV, not just the whole page. Thanks.
Asked
Active
Viewed 2.2k times
3 Answers
10
You can do this natively with BlockUI: http://jquery.malsup.com/block/#element
$('div.test').block({ message: null })

Andrew Whitaker
- 124,656
- 32
- 289
- 307
-
How about if I want to block everything *except* one div. I tried $('div.grid_12').not('#mydiv').block({ message: null }); and everything still gets blocked. – codecowboy Aug 10 '11 at 14:49
-
@codecowboy: Seems like that'd be a good candidate for a new question `:)` – Andrew Whitaker Aug 10 '11 at 15:33