js代码 var ifm = document.getElementById("formtarget"); if (ifm.attachEvent) { ifm.attachEvent("onload", function () { var data = $(window.frames["formtarget"].document).find("pre").text(); if (data != null) { insertresult(data); } }); } else { ifm.onload = function () { var data = $(window.frames["formtarget"].document).find("pre").text(); if (data != null) { insertresult(data); } }; }
在Google和火狐下上传没问题,但是在ie下会弹出窗口
回复讨论(解决方案)
~/clue/insertdata 设置下Content-Type
查看更多关于ie8iframe无刷新上传问题_html/css_WEB-ITnose的详细内容...
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://www.haodehen.cn/did113666