0
点赞
收藏
分享

微信扫一扫

【textarea】在JSP上添加textarea-文本域 调试使用

<body>
<form name="dataEventDisplay">
<table border="2" bordercolor="white" cellpadding="0" cellspacing="0">
<tr>
<td><textarea cols="60" rows="10" name="event">没有消息 </textarea></td>
</tr>
</table>
</form>
</body>

上面为添加文本域的方法;

下面为在文本域显示内容:

<script type="text/javascript">   
document.dataEventDisplay.event.value = “要显示的内容”;
</script>



举报

相关推荐

0 条评论