您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

PHP与Ajax调用

2024/12/10 19:38:27发布16次查看
var url = ../ipsearch.php;//要发送到的url
    //alert(document.getelementbyid(depcode).value);
    //alert(document.getelementbyid(querytype).value);
    var querystring =deptcode+ = +deptcode;
    querystring+= &querytype + = + querytype;//如果有多个参数需要传递,则用&符号连接
    xmlhttp.open(post, url, true);
    xmlhttp.onreadystatechange = showipsearchresult;
    xmlhttp.setrequestheader(content-type, application/x-www-form-urlencoded;);
    xmlhttp.send(querystring);
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product