Add onload event for iframe
ie use attachEvent("onload",function(){})
firefox, chrome use addEventListener("onload",function(){}), or directly Use onload=function(){}
Note: iframe.attachEvent returns undefined under Firefox and Chrome, which can be translated into false. This can solve the defect of writing the onload event differently from that under IE.