摘要: 前台代码:<script type="text/javascript"> var xhr; window.onload = function () { xhr = new XMLHttpRequest(); document.getElementById("btnAdd").onclick = AddData; } function AddData() { xhr.open("POST", "TestAjax.ashx", true);xhr.setRequestHeader("Content 阅读全文
posted @ 2011-11-07 13:39 yxf2011 阅读(174) 评论(0) 推荐(0) 编辑