标题:赋值问题---在线等
只看楼主
yan1437
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2012-12-4
 问题点数:0 回复次数:0 
赋值问题---在线等
<%@LANGUAGE="JAVASCRIPT" CODEPAGE="936"%><center>
<%
var phona = Request("v1");
var phonc = Request("v2");
var a = request("a");
var b = request("b");
var c = request("c");
var d = request("d");
var e = request("e");
var f = request("f");
var g = request("g");
var h = request("h");
var i = request("i");
var j = request("j");
var k = request("k");
var l = request("l");
var m = request("m");
var n = request("n");
var o = request("o");
var q = request("q");
var r = request("r");
var s = request("s");
var t = request("t");
var u = request("u");
var v = request("v");
phona=a+b+c+d+e+f+g+h+i+j+k
phonc=l+m+n+o+p+q+r+s+t+u+v
var hahb = Request("submit");
XHR=Server.CreateObject("MSXML2.ServerXMLHTTP");
XHR=Server.CreateObject("Microsoft.XMLHTTP");

 
if (hahb=="测试")
{
hujiao1()
jilu()
}
else
{
}
Response.write("<form name='form1' method='post' action=''>手机号码一:<input name='v1' value=''/><br>手机号码二:<input name='v2' value=''/><br><input name='submit' type='submit' value='测试'></form>")



function hujiao1()
{
XHR.open("get","http://r2java.,false);
XHR.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
XHR.send("测试一下效果");
//Response.Write(XHR.responseText);
}

%></center>

想在输入框中输入的手机号码phona=13800138000,分别对应http://数据中a、b、c、d....

该怎样书写?我上面书写的对么?怎么在运行的时候报错呢?
搜索更多相关主题的帖子: Request request 在线 
2012-12-11 22:35



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-390751-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.059848 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved