Javascript/jQuery

iframe 로딩 후에 동작할 스크립트 작성법

풍풍 2015. 8. 19. 15:09

$("iframe selector").on("load", function(){

// script

});


출처: http://stackoverflow.com/questions/30005/how-do-i-fire-an-event-when-a-iframe-has-finished-loading-in-jquery