日期:2014-05-17 浏览次数:20430 次
function addUser() {
var Visitor_IP = "a";
var Visitor_URL ="s";
var Visitor_Referer = "d";
var Visitor_Identity = "f";
var Visitor_Keyword ="g";
var method = "post";
var async = true;
var url = "InsertBase.aspx";
var data = "Visitor_IP=" + Visitor_IP + "&Visitor_URL=" + Visitor_URL + "&Visitor_Referer=" + Visitor_Referer + "&Visitor_Identity=" + Visitor_Identity + "&Visitor_Keyword=" + Visitor_Keyword;
ajaxrequest(url, method, async, data, document);
}
function getajaxHttp() {
var xmlHttp;
try {
xmlHttp = new XMLHttpRequest();
}
catch (e) {
try {
xmlHttp = new ActiveXObject("Msxml2.XMLHTTP");
}
catch (e) {
try {
xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
} catch (e) {
alert("您的浏览器不支持AJAX!");