Re: text length excess alert

  •  08-30-2010, 10:44 AM

    Re: text length excess alert

    Dear surrounding,
     
    Please try the following code, I have tested it and it works fine on my end: 
    <!-- #include file = "cuteeditor_files/include_CuteEditor.asp" -->
    <html> 
        <head>  
     </head>
        <body>  
      <form name="theForm" action="Edithtml.asp?postback=true"  method="post">
      <%      
       Dim editor
       Set editor = New CuteEditor
       editor.ID = "Editor1"  
       editor.MaxTextLength=25
       If request.QueryString("postback") <> "true" then
        editor.Draw()
       else
        editor.SaveFile("document.html")
        editor.Draw()
       End if
                
       ' Request.Form(ID) access from other page
      %>      
      </form>
     </body>
    </html>
    Thanks for asking
View Complete Thread