A.aspx 页面中有<ifream id="demo" src="b.aspx" width="480" height="320">
b.aspx 加载完成后执行 以下代码段
$(function(){
    var msgbox = "";
    msgbox += '<div id="Bg"></div>';
    msgbox += '<div id="reportFrame"> <iframe name="reportIframe" id="reportIframe" frameborder="0"  scrolling="no" allowtransparency="true" src="report.aspx" ></iframe>';
    msgbox += '</div> '; 
    $("body",parent.document).append(msgbox); // 在A.aspx 的 body 内部添加 msgbox
});
在A.aspx 中能得到正确的效果,但会出现 e.target.tagName is undefined 这个提示,尽管这个提示没有影响,但看着很碍眼。请问怎么处理这个错误?