:-D. Really this is my REAL code using block :-P
The problem with blockUI that I have, it is that my hidden layer is
removed when I call to $.unblockUI, so I simply send a copy of the
layer when I call to $.blockUI ;-)
//Configuration for AJAX calls
$().ajaxSend(function(r,s){
$(#msgpanel
Hello,
I have a php web application and sometimes the database query will
take a while to process results. Using JQuery, is it possible to
display a Please wait message and then clear it when the
database query completes ( the code comes out of an foreach
condition ).
Please let me know..
In my pages I have this code. Automatically in AJAX calls, the message
is shown and removed on AJAX call finalizes.
HTML:
div id=waitmessagePlease wait/div
JS:
//Configuration for AJAX calls
$().ajaxSend(function(r,s){
$(#waitmessage).show();
});
$().ajaxStop(function(r,s){
there is a great plugin that will do this for you called blockUI
http://www.malsup.com/jquery/block/
VS YR wrote:
Hello,
I have a php web application and sometimes the database query will
take a while to process results. Using JQuery, is it possible to
display a Please wait
4 matches
Mail list logo