<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<script language="javascript" src="Editor.js"></script>
<style type="text/css">
body{
    background:#303030;
}
.leleEditor{
    width:875px;
    height:200px;
    border:1px solid #CCCCCC;
}
.leleTools{
    width:100%;
    height:35px;
    background:#F7F5F4;
    border-bottom:1px solid #CCCCCC;
}
</style>
<title>无标题文档</title>
</head><body>
<div class="leleEditor">
  <div class="leleTools">&nbsp;</div>
  <div class="leleIframe"><iframe id="leleEditor" frameborder="0" width="100%" height="167" src="about:blank"></iframe></div>
</div><p>&nbsp;</p>
<p> 
  <input type="button" value="获取编辑器内容" onclick="CheckForm();" />
</p>
</body>
</html>eidt.js  文件里的代码。。window.onload=function()
{
    var leleHTML = document.getElementById("leleEditor");
    leleHTML.contentWindow.document.designMode = "on";
    leleHTML.contentWindow.document.contentEditable = true;
}
function CheckForm()
{
    var leleContent = leleEditor.document.body.innerHTML;
    if(leleContent=="")
    {
        alert("请输入内容,谢谢!");
    }
    else
    {
        alert(leleContent);
    }
}
这样在FF浏览器里获取不了值。。IE浏览器可以。。在FF下应该如何得到HTML编辑器中的值?