下载了一个编辑器。按介结给装好了。但是不知道怎么获取它的值。
A.HTML<form name="form1" method="post" action="b.php">
<textarea id="input" style="width:400px; height:200px" name="body"></textarea>
<script type="text/javascript">
new TINY.editor.edit('editor',{
id:'input',
width:584,
height:175,
cssclass:'te',
controlclass:'tecontrol',
rowclass:'teheader',
dividerclass:'tedivider',
controls:['bold','italic','underline','strikethrough','|','subscript','superscript','|',
  'orderedlist','unorderedlist','|','outdent','indent','|','leftalign',
  'centeralign','rightalign','blockjustify','|','unformat','|','undo','redo','n',
  'font','size','style','|','image','hr','link','unlink','|','cut','copy','paste','print'],
footer:true,
fonts:['Verdana','Arial','Georgia','Trebuchet MS'],
xhtml:true,
cssfile:'style.css',
bodyid:'editor',
footerclass:'tefooter',
toggle:{text:'source',activetext:'wysiwyg',cssclass:'toggle'},
resize:{cssclass:'resize'}
});
</script>
</form>
C.php
---------------------------
<?php
$body =$_POST["body"]; //这里获取不到值。
?>
按照说明http://www.websbook.com/Build/Talk/jdhydqljHTMLbjq_TinyEditor_18529.html
在TinyEditor的实际应用中,需要注意的是,在提交编辑器内容之前,一定调用instance.post()函数,以确保编辑区域中最新的可视化内容转化为标记文本。怎么样调用instance.post()  ?