下面是写内容的代码?(什么原理?)<div id="htmlEditorPanel" style="border:1px solid #fe1402;">
  <script type="text/javascript">   
        document.write('<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td ><iframe class="HtmlEditor" id="HtmlEditor" name="HtmlEditor" style=" height:200px;width:100%;overflow:auto" frameBorder="0" marginHeight="0" marginWidth="0" src="about:blank"></iframe></td></tr></table>');
  </script>
</div>
<div id="sourceEditorPanel" style="border:1px solid #C5DCDE; display: none">
<script type="text/javascript">
    document.write('<textarea id="sourceEditor" name="sourceEditor" style="height:' + (document.all ? 200 - 4 : 200 - 2) + 'px;border:0;width:' + (document.all ? editor.Width - 2 : editor.Width) + 'px;overflow:auto;background:#fff"></textarea>');
    editor.border();
    window.onload = function() {
        editor.init();
    }
</script>
</div>我加了一个ImageButton  在cs事件里怎样能够得到 前面编辑器里的内容?
求详细说明? 谢谢