iframe的ID=ifr
var iframe = document.getElementById('ifr');
if(iframe.attachEvent){
iframe.attachEvent("onload", function(){
alert("Local iframe is now loaded.");
});
}else{
iframe.onload = function(){
alert("Local iframe is now loaded.");
};
}
iframe的ID=ifr
var iframe = document.getElementById('ifr');
if(iframe.attachEvent){
iframe.attachEvent("onload", function(){
alert("Local iframe is now loaded.");
});
}else{
iframe.onload = function(){
alert("Local iframe is now loaded.");
};
}