block-UI
Block UI
The jQuery BlockUI lets you simulate synchronous behavior when using AJAX, without locking the browser. BlockUI adds elements to the DOM to give it both the appearance and behavior of blocking user interaction. For more info, you can visit Block UI's page.
Use $('#element').block()
to block target element and $('#element').unblock()
for unblocking.
Set timeout before unblocked by setting timeout
property.
You can put html elements into message
property
Use $.blockUI()
to block the page
Mix block message with spinner
Samples
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.