Check out this awesome plugin "jQuery BlockUI" to block the UI till you process the request. Easy to use, well documented & lots of options.
Read this post on iminfo.in