본문 바로가기
웹관련/Ajax

[Ajax] 로딩바 구현

by 착한덕환 2016. 9. 23.



http://www.ajaxload.info/

로딩 이미지를 만들어주는 사이트



jQuery(function($){
        // Create img dom element and insert it into our document
        var loading = $('loading')
        .appendTo(document.body).hide();
        // Make the image appear during ajax calls
        $(window).ajaxStart(loading.show);
        $(window).ajaxStop(loading.hide);

});



 
	 
		 
		 
		 
	 
	 
		
데이터를 호출하자~~


댓글