Hi, You can use ajaxStart() and ajaxStop() to do this.
$(document).ajaxStart(function() { //call your method to display loading message /////(ex:) $ ('#loadingmessage').show(); }); $(document).ajaxStop (function() { //call your method to hide loading message/////(ex:) $ ('#loadingmessage').hide(); }); Karthik