解决方法
你可以试试blockUI
http://malsup.com/jquery/block/
The jQuery BlockUI Plugin lets you simulate synchronous behavior when using AJAX,without locking the browser[1]. When activated,it will prevent user activity with the page (or part of the page) until it is deactivated. BlockUI adds elements to the DOM to give it both the appearance and behavior of blocking user interaction…
[1] Using the
XMLHttpRequest
object in synchronous mode causes the entire browser to lock until the remote call completes. This is usually not a desirable behavior.