Locks HTML element.
w2utils.lock(box, message, showSpinner)
box |
HTML Element or jQuery object, box to lock |
message |
string, message |
showSpinner |
boolean, spinner indicator |
The first argument box is usually a div element (needs to be with absolute position) which will be locked. The second
argument message is the message to display. If second argument is null or blank, no message will be displayed
at all. The third argument is message is a boolean variable indicating whether to show the spinner.
This method is called from grid, sidebar, layout and popup to lock its content.
You can lock a div with: