ssslinppp

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
  1. <body>
  2. <form name="dataEventDisplay">
  3. <table border="2" bordercolor="white" cellpadding="0" cellspacing="0">
  4. <tr>
  5. <td><textarea cols="60" rows="10" name="event">没有消息 </textarea></td>
  6. </tr>
  7. </table>
  8. </form>
  9. </body>
上面为添加文本域的方法;
下面为在文本域显示内容:
  1. <script type="text/javascript">
  2. document.dataEventDisplay.event.value = “要显示的内容”;
  3. </script>







posted on 2015-05-07 11:21  ssslinppp  阅读(1117)  评论(0编辑  收藏  举报