请问以下片段有错吗?

FWSH 2004-08-09 04:47:40
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
</head>

<body>
<form name="frm" method="post">
<input type="text" name="one" ><br>
<input type="text" name="two">


</form>
<script language="vbscript">

frm.two.value=frm.one.value
</script>
</body>
</html>

本人水平低看不出错在哪?求教!
...全文
139 4 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
FWSH 2004-08-10
  • 打赏
  • 举报
回复
不用函数可以吗?
就只有赋值语句能做到吗?
FWSH 2004-08-09
  • 打赏
  • 举报
回复
我的程序是纯脚本语言,没有ASP的存在。
还有:
为什么赋值语句完全不起作用(赋数值除外)。
救命呀!!!
ceocio 2004-08-09
  • 打赏
  • 举报
回复
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
</head>

<body>
<form name="frm" method="post">
<input type="text" name="one" ><br>
<input type="text" name="two">
<input type="submit" name="Submit" value="提交" onClick="aa();">
</form>
<script language="vbscript">
function aa()
frm.two.value=frm.one.value
msgbox "1 value is: "&frm.one.value
msgbox "2 value is: "&frm.two.value
end function
</script>
</body>
</html>
wyy1001 2004-08-09
  • 打赏
  • 举报
回复
有错吧
<% %>

1,451

社区成员

发帖
与我相关
我的任务
社区描述
多媒体/设计/Flash/Silverlight 开发 图象工具使用
社区管理员
  • 图象工具使用社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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