if(ewebeditor1.getHTML().length == 0){
alert("请填写信息内容!");
return false;
}

解决方案 »

  1.   

    还有这么一段代码: if Trim(Request("body")) = "" then
    Errmsg = Errmsg + "<li>请输入文章内容。"
    FoundErr = true
    else
    Content = Qcdn.checkStr(Trim(Request("body")))
    end if注释掉后可以发布文章,但没内容。
    就是说这里的Content 是保存文章内容的,
    那这里又该怎么改呢?
      

  2.   

    <iframe id="ewebeditor1" src="/ASP/qc/eWebEditor/ewebeditor.htm? id=body&style=coolblue" frameborder="0" scrolling="no" width="550" height="350"></iframe>