各位大虾帮个忙:
  我是初学者,在做站中,遇到了下边的问题,不知道什么原因:提交表单事触发的事件,不能传递数据,我不理解,请帮我解释下其中的问题.
  js代码为:
  function bbs_CopyData(hiddenid)
{
  document.getElementById(hiddenid).value = OSWEBXHTML.GetXHTML(message.document.body);    
}
  html代码为:
  <form name="form" method="post" action="testbox.asp" onsubmit="bbs_CopyData("body");">      
     <input type="hidden" name="body" id="body" value="">
     <iframe id="message" marginheight="5" marginwidth="5" width="600" height="200"></iframe> 
    <script language="javascript">
      frames.message.document.designMode = "On";
    </script>
    <input type="submit" name="submit" value="go">
    </form>