Created
October 14, 2019 06:17
-
-
Save jeedy/60f489d913907652af18ff6ec78c0084 to your computer and use it in GitHub Desktop.
Form 을 이용한 파일 다운로드 submit Events control (with jquery)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* 엑셀 다운로드시 로딩이미지 노출 | |
*/ | |
$('#frmDownlaod').submit(function(){ | |
startLoading(); // 로딩중 이미지 노출 | |
$.post($(this).attr('action'), $(this).serialize(), function(response) { | |
endLoading(); // 로딩중 이미지 비노출 | |
}, 'text'); | |
return true; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment