28,390
社区成员
发帖
与我相关
我的任务
分享
<form name="myform" method="POST" action="check.asp" onSubmit="return CheckForm(this)">
<textarea id="content" rows=1 name="content" cols=1 style="width: 500px; height: 295px">客户端会在这里输入内容的</textarea>
</form>
<input type="button" name="Submit" value="清除内容" onClick="ClearReset()">
<form name="myform" method="POST" action="check.asp" onSubmit="return CheckForm(this)">
<textarea id="content" rows=1 name="content" cols=1 style="width: 500px; height: 295px">客户端会在这里输入内容的</textarea>
<input type="reset" name="reset" value="清除内容">
</form>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>无标题页</title>
</head>
<script type ="text/javascript">
function Open()
{
document.getElementById("content").value="";
}
</script>
<body>
<form id="form1" runat="server">
<div>
<textarea id="content" rows=1 name="content" cols=1 style="width: 500px; height: 295px">客户端会在这里输入内容的</textarea>
<input type ="button" id="text" value="确定" onclick="Open();" />
</div>
</form>
</body>
</html>