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 propertype="button".
You can put html elements into message propertype="button"
Use $.blockUI() to block the page
Mix block message with spinner
Samples
Sunset Over Manarola
Perched on the rugged cliffs of Italy’s Cinque Terre, the village of Manarola offers breathtaking views of colorful houses, the shimmering Ligurian Sea.