- 博客(0)
- 资源 (2)
- 收藏
- 关注
Ajax页面局部异步刷新技术
创建XMLHttpRequest对象var xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); xmlhttp.open("get", "GetDate.ashx?id=" + encodeURI("中国") + "&ts;", false); xmlhttp.onreadystatechange = function () {
if (xmlhttp.readyState == 4) {
if (xmlhttp.status == 200)
document.getElementById("Text1").value = xmlhttp.responseText;
2012-03-12
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人