try:
<form name=form1 action="1.asp">
<input type=text name=t1>
<input type=submit value=提交>
</form>1.asp:
response.write(request(t1))
<form name=form1 action="1.asp">
<input type=text name=t1>
<input type=submit value=提交>
</form>1.asp:
response.write(request(t1))
解决方案 »
- 请教个动态生成JavaScript的问题
- 1,2,4,8替换为1,2,8或者2,4,8应该怎么写呢?
- 问个简单的js?
- 小问题,大家帮忙搞定一下
- 大神帮忙 下拉菜单取不到值 SSH EL表达式
- js转盘抽奖相关问题请教。
- <img/>能直接加载图片内容吗?
- 谁知道哪里有Javascript Style Sheets,我在上网找不到相关学习资料
- 求助:TEMPLATEPRINTER 出现没有权限的错误。
- 一款集成支持编辑html,css,js,vbs,asp,sql,vml,dhtml等语言的优秀国产软件
- 如何用HTML或JAVASCRIPT写出点击某个链接,弹出一个小的对话框?
- 想问一下,怎么求IE窗口离屏幕顶端的距离以及离屏幕左边的距离?
sorry!!!
我的意思是,向服务器提交的表单里面有一些变量的值
我怎么通过javascript,在其中加上一个变量用来做标记
关键是怎么加到表单里面去
<script>
function mm()
{
form1.action = "1.asp?param=" + t1.value;
form1.submit();
}
</script>
<form name=form1 action="" onsubmit="mm()" method=get>
<input type=text name=t1>
<input type=submit value=提交>
</form>
在服务器端用:request.queryString("param") 接收变量param的值!