Re: Cute Editor doesn't save changes in Chrome(from time to time)

  •  08-20-2010, 9:48 AM

    Re: Cute Editor doesn't save changes in Chrome(from time to time)

    Please save the following code to 1.asp, I tested it, when you click "save", it will save all changes to 4.htm.  Can you test it on your end?
    <!-- #include file = "cuteeditor_files/include_CuteEditor.asp" -->
    <html> 
        <head>
      
     </head>
        <body>
      
      <form name="theForm"  action="1.asp?postback=true" method="post">
      <%
       dim content
       content = "Type here"    
        
       Dim editor
       Set editor = New CuteEditor
       editor.ID = "Editor1"   
       ' Request.Form(ID) access from other page
       
       If request.QueryString("postback") <> "true" then     
           editor.LoadHTML("Templates/4.htm") 
        editor.Draw()
       else      
        editor.SaveFile("Templates/4.htm")
        editor.LoadHTML("Templates/4.htm") 
        editor.Draw()
       End if
       %>
          
      </form>
     </body>
    </html>
     
    Regards,
    Eric
View Complete Thread