时间:2020-07-23 11:35:49 作者:admin 点击: function tag_arcclick(aid) { var ajax = new XMLHttpRequest(); ajax.open("get", "/index.php?m=api&c=Ajax&a=arcclick&aid="+aid+"&type=view", true); ajax.setRequestHeader("X-Requested-With","XMLHttpRequest"); ajax.setRequestHeader("Content-type","application/x-www-form-urlencoded"); ajax.send(); ajax.onreadystatechange = function () { if (ajax.readyState==4 && ajax.status==200) { document.getElementById("eyou_arcclick_1711512337_"+aid).innerHTML = ajax.responseText; } } }