Hi sethumail2000,
Just need to add it to the bottom of your page, it will fire automatically.
- <!-- #include file = "cuteeditor_files/include_CuteEditor.asp" -->
- <html>
- <head>
- <title>ASP Editor Demo</title>
- </head>
- <body>
-
- <form name="theForm">
- <%
- Dim editor
- Set editor = New CuteEditor
- editor.ID = "Editor1"
- editor.Draw()
- %>
- </form>
- <script type="text/javascript">
- function CuteEditor_FilterHTML(editor, code) {
- return code.replace(/(<form[^\>]*\>)([\s\S]*)(\<\/form\>)/ig, "$2");
- }
- function CuteEditor_FilterCode(editor, code) {
- return code.replace(/(<form[^\>]*\>)([\s\S]*)(\<\/form\>)/ig, "$2");
- }
- </script>
- </body>
- </html>
Regards,
Ken