javascript 弹出包含 html 元素的内容
<script type="text/javascript">
var myWindow=window.open('','','width=200,height=100');
myWindow.document.write("This is 'myWindow'");
myWindow.focus();
myWindow.opener.document.write("This is the parent window");
</script>
用以上代码代替 alert(xml.responseText); 可以很清楚地在js 代码里看到错误信息;
