js 发起get请求
发布日期:2021-05-07 19:19:58 浏览次数:25 分类:原创文章

本文共 521 字,大约阅读时间需要 1 分钟。

 var xmlhttp;        if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari            xmlhttp = new XMLHttpRequest();        } else {// code for IE6, IE5            xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");        }        xmlhttp.onreadystatechange = function () {            if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {                location.reload()            }        }        xmlhttp.open("GET", "excheange_feedback.php?type=delete_not_pass", true);        xmlhttp.send();

 

上一篇:优雅解决加载dialog 动态设置文字出现空指针解决方案
下一篇:关于《高校邦》隐私政策说明

发表评论

最新留言

路过,博主的博客真漂亮。。
[***.116.15.85]2025年03月26日 20时46分03秒