如何实现通过一个来指向某个新的页面??(求VBSCRIPT) 急!

DeliverGuy 2004-01-30 06:09:44
如何用VBSCRIPT 来实现以下功能
通过一个<input type=button>来指向某个新的页面,并能将当前页面里的内容提交至这个新的页面??

谢谢~!
...全文
93 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
超级大笨狼 2004-02-01
  • 打赏
  • 举报
回复
<form name=myform action=2.asp method=post>
<input type=text name=mytext>
<input type=button onclick="vbs:formsubmit">
</form>
<script language=vbs>
sub formsubmit()
window.location.href="2.asp?mytext=" & myform.mytext.value
'在另外一个页面可以用request取到mytext
end sub
</script>
易寒 2004-02-01
  • 打赏
  • 举报
回复
<input type=botton onclick="window.location.href='*.htm'">
nchen123 2004-01-30
  • 打赏
  • 举报
回复
<form target="_blank" ...>
TrueAndFalse 2004-01-30
  • 打赏
  • 举报
回复
<form name=myform action=2.asp method=post>
<input type=text name=mytext>
<input type=button onclick=formsubmit()>
</form>
<script language=vbscript>
function formsubmit()
myform.submit
end function
</script>
DeliverGuy 2004-01-30
  • 打赏
  • 举报
回复
补充: 要的是个转向新的页面,因为在原页面里已有<input type = submit>了~!

28,407

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧