3
Bir iframe'in yüklü olup olmadığını nasıl tespit edebilirim?
Kullanıcı bir düğmeyi tıkladıktan sonra bir iframe'in yüklenip yüklenmediğini kontrol etmeye çalışıyorum. Sahibim $('#MainPopupIframe').load(function(){ console.log('load the iframe') //the console won't show anything even if the iframe is loaded. }) HTML <button id='click'>click me</button> //the iframe is created after the user clicks the button. <iframe id='MainPopupIframe' src='http://...' />...</iframe> Baska öneri? Bu …
101
javascript
jquery
html
iframe