我还是先上代码吧:<html>
<head>
<script type = "text/javascript">
var Ajax = null;
Ajax = new XMLHttpRequest();
Ajax.open("POST","http://www.abc.com/posting.php", true );
alert(document.cookie);
<script>
</head>
<body>
Hello
</body>
</html>网页正常显示,但没有运行Javascript脚本。如果不加上Ajax那三行是可以运行Javascript脚本的。请问我这样写究竟错在哪里啊。谢谢各位啦