asp.net - How to use Ajax Loader in jQuery pop up -


please tell me how use ajax loader in jquery pop up.

on aspx page there jquery pop up, , on pop there list of checkboxes, , when check box checked list of checkboxes load. want use ajax loader.

add div loading gif , hide it. use following snippet:

$("#loading").ajaxstart(function(){    $(this).show();  }); $("#loading").ajaxstop(function(){    $(this).hide();  }); 

this show loading gif each time ajax request loading.


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

android - layout with fragment and framelayout replaced by another fragment and framelayout -