$.ajax beforeSend
2014. 1. 12. 20:49ㆍ개발/javascript
$.ajax({
type : 'POST',
url : url,
async : false,
data : postData,
beforeSend : function (){
$.blockUI({
fadeIn : 0,
fadeOut : 0,
showOverlay : false
});
},
success : function (returnData) {
//stuff
},
error : function (xhr, textStatus, errorThrown) {
//other stuff
},
complete : function (){
$.unblockUI();
}
});
'개발 > javascript' 카테고리의 다른 글
Javascript Python Logo (0) | 2024.12.16 |
---|---|
The classList API (0) | 2014.09.16 |
날자 객체 Date Object (0) | 2014.01.05 |
Google maia.js - the "Twitter Bootstrap" made by Google with Closure (0) | 2013.09.04 |
[canvas] 간단히 만들어보는 HTML5 애니메이션 (0) | 2013.08.25 |