I\'m doing an AJAX call (regular JS) and, if it takes more than, say, 500 milliseconds, I\'d like to put up my \"Please Wait\" box.
Normally, if I want to put up the
take a look at BlockUi. If that doesn't look like it will work for you, you could try using
$(document).ajaxStop(DoSomething());