<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>
来自为知笔记(Wiz)
转载于:https://www.cnblogs.com/ssslinppp/p/4484286.html
最后
以上就是哭泣酒窝最近收集整理的关于【textarea】在JSP上添加textarea-文本域 调试使用的全部内容,更多相关【textarea】在JSP上添加textarea-文本域内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复