jqueryでiframeのloadを待つ
// iframe loaded check
window.onload = function () {
// iframe はiframeのdiv idを指定
jQuery($('#iframe')).ready(function () {
//console.log('frame loaded');
jQuery(document).ready(function(){
// iframeのdiv id tabs-1のHTMLを読み込み
var contents = $("#iframe").contents();
console.log(contents.find('#tabs-1').html());
});
});
};