网页中链接文字编辑器的代码
分类:电脑知识 发表于:2007-09-05 17:50:40 评论(0)
首先将表单内容与编辑器内容等同:
<script language="javascript">
function CheckForm()
{
document.form4.content.value=document.form4.doc_html.value;
}
</script>
再在该表单form4中插入编辑器:
<object id=doc_html name=doc_html style="LEFT: 0px; TOP: 0px" data="editor.htm" width=650 height=280 type=text/x-scriptlet VIEWASTEXT></object>