ASP 自动提交表单
是这样的,。我做了一个用户自动登入
<%
dim a
dim b
if request.cookies("hehe")("username")<>"" then
a=request.cookies("hehe")("username")
b=request.cookies("hehe")("password")
end if
%>
<input placeholder="请输入您的账号" name="username" type="text" maxlength="15" value="<%=a%>" />
<input placeholder="请输入您的密码" name="password" type="password" maxlength="18" value="<%=b%>" />
<input type="submit" value="登录" >
现在问题是 如何实现,用asp的代码 自动提交这个表单。,
简单说 页面获取到 cookies的信息了 用户名和密码都有值了 就缺自动提交表单。
百度找了很多的资料 都是JS
我想了下 也不成功
我本来还想调用的
function a()
{
xxxxx
}
但是我调用不来。
<%
dim a
dim b
if request.cookies("hehe")("username")<>"" then
a=request.cookies("hehe")("username")
b=request.cookies("hehe")("password")
当输入以上信息后,这里缺一个 提交表单的代码。
end if
%>
我最终目的是这里
求ASP自动提交表单的