这样的提交怎样实现?

tdxue 2003-12-22 03:01:56
1.html

<html>
<body>
<form name="form1">
<input type=hidden name="place" value=1>
<input type="button" value="确定">
</form>
</body>
</html>

main.html

<html>
<frameset cols="20%,*">
<frame name="frame_left" target="frame_right" src="2.asp">
<frame name="frame_right" src="3.html">
</frameset>
</html>

现在想在1.html点击"确定"按钮时,调出main.html,并且把隐藏变量"place"的值传给2.asp
请问怎样实现?
...全文
34 2 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
piple 2004-02-11
  • 打赏
  • 举报
回复
session+transfer!
mnwind 2003-12-22
  • 打赏
  • 举报
回复
表单是要提交给2.asp是吧。这个没法实现,
可以考虑不用框架页阿,而用asp文件 include 3.html,那样就没问题了
我就不喜欢用框架页,觉得很小家子气。知名网站基本上没有看到过用框架页的

61,129

社区成员

发帖
与我相关
我的任务
社区描述
层叠样式表(英文全称:Cascading Style Sheets)是一种用来表现HTML(标准通用标记语言的一个应用)或XML(标准通用标记语言的一个子集)等文件样式的计算机语言。
社区管理员
  • HTML(CSS)社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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