<form name= "form1 ">
<textarea name= "aaa "> </textarea>
<input type= "text " name= "bbb ">
<input type= "reset " name= "ccc " value= "重置 ">
</form>
点“重置”,只能重置text的内容,不能重置textarea的内容,怎样才能重置textarea中的内容?
谢谢!
------解决方案--------------------
<textarea name= "aaa "> </textarea>
<form name= "form1 ">
<input type= "text " name= "bbb ">
<input type= "reset " name= "ccc " value= "重置 ">
</form>
------解决方案--------------------
这个代码在ie6上面2个都可以重置啊?有什么错?
还是说你只想要重置其中一个?
<form name= "form1 ">
<textarea name= "aaa "> </textarea>
<input type= "text " name= "bbb ">
<input type= "button " name= "ccc " value= "重置 " onclick= "this.form.bbb.value= ' ' ">
</form>
------解决方案--------------------
<form name= "form1 ">
<textarea name= "aaa "> </textarea>
<input type= "text " name= "bbb "> </input>
<input type= "reset " name= "ccc " value= "重置 "> </input>
</form>
楼主,没问题啊