JAVACRIPT 怎么实现在一个输入框输入一个文字,在另一个输入框即时输出第一个输入框输入的文字. 写一函数,在onKeyUp事件里调用 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <form method="POST" Name="Fom1" action=""><input name=text1 type=text size=30 value="" onKeyUp="document.Fom1.text2.value=document.Fom1.text1.value"><input name=text2 type=text size=30 value=""></form> <html><head><script language=javascript>function bring(){ document.form1.txtComments1.value=document.form1.txtComments.value;}</script></head><body><form name=form1><input name=txtComments type=text onkeyup="bring()"></TEXTAREA><input type=text name=txtComments1></TEXTAREA></body></html> <html><head><script language=javascript>function bring(){ document.form1.txtComments1.value=document.form1.txtComments.value;}</script></head><body><form name=form1><input name=txtComments type=text onkeyup="bring()"><input type=text name=txtComments1></form></body></html> Web 编码 应该注意哪些问题,方便后面添加CSS等 marquee属性可以用js调用吗 DOM 新增加的结点为什么是NULL的?? loadXML为什么这么写 微软新编程框架 巩固IE在Web应用中的地位 怎么我的windows自带的javascript调试器的调试选项都是灰色的????? 我该如何得到当前为几月,并且显示出来? js获得textarea的值的问题。高手请帮我:小弟在线等。 如何控制回车键 RadioButton取值的问题 用js动态c建 请问javascript脚本错误提示怎么看啊?
<input name=text2 type=text size=30 value="">
</form>
<head>
<script language=javascript>
function bring(){
document.form1.txtComments1.value=document.form1.txtComments.value;
}
</script>
</head>
<body>
<form name=form1>
<input name=txtComments type=text onkeyup="bring()">
</TEXTAREA>
<input type=text name=txtComments1>
</TEXTAREA>
</body>
</html>
<head>
<script language=javascript>
function bring(){
document.form1.txtComments1.value=document.form1.txtComments.value;
}
</script>
</head>
<body>
<form name=form1>
<input name=txtComments type=text onkeyup="bring()">
<input type=text name=txtComments1>
</form>
</body>
</html>