<INPUT type="hidden" name="infotxt" value="">ewebeditor.asp?id=infotxt有没有对应上?

解决方案 »

  1.   

    <script language=javascript>
    //EWebEditor组件脚本
    var objField=opener.document..;
    function doSave(){
    objField.value = eWebEditor1.getHTML();
    self.close();
    }function setValue(){
    try{
    if (eWebEditor1.bInitialized){
    eWebEditor1.setHTML(objField.value);
    }else{
    setTimeout("setValue();",1000);
    }
    }
    catch(e){
    setTimeout("setValue();",1000);
    }
    }
    </script>
    <form name="myform" method=post action="add_dm.asp"> <textarea  name="Content" style="display:none"></textarea> 
    <IFRAME ID="Editor"  src="../../webedit1/ewebeditor.asp?id=content&style=standard" frameborder="0" scrolling="no" width="550" height="300" ></IFRAME>  </td>
      </form>
    照着写一下!试试
      

  2.   

    parent.event.returnValue = false;//这行通不过
    ==>
    event.returnValue = false;//去掉parent