//监听iframe加载完成
var iframe = $('#hotel-iframe')[0];
//兼容IE
if (iframe.attachEvent){
iframe.attachEvent("onload", function(){
CM();
//alert("Local iframe is now loaded.");
});
} else {
iframe.onload = function(){
CM();
//alert("Local iframe is now loaded.");
};
}
var iframe = $('#hotel-iframe')[0];
//兼容IE
if (iframe.attachEvent){
iframe.attachEvent("onload", function(){
CM();
//alert("Local iframe is now loaded.");
});
} else {
iframe.onload = function(){
CM();
//alert("Local iframe is now loaded.");
};
}
监听接在显示的iframe窗口后面