2
fancybox의 onCleanup 기능에서 jQuery를 사용하는 방법이 있습니까? fancybox를 사용하여 iframe 내부에서 일부 파일 업로드를 처리하고 있으며 업로드가 완료되면 일부 양식 필드를 업데이트해야합니다. 내가 jQuery를 호출 할 수있는 방법이 있나요Fancybox - onCleanup의 jQuery
$('.upload-image').fancybox({
'type':'iframe',
'onCleanup':somefunction
});
function somefunction(){
alert($this);
};
:
$('.upload-image').fancybox({
'type':'iframe',
'onCleanup':function(){
alert($this);
}
});
위는 작동하지 않습니다, 나도 함수를 호출했는데, 그 중 하나에서 어떤 jQuery를 사용할 수없는 것 fancybox 창을 닫을 때 활성화 된 기능은 무엇입니까?