Creates your own HTML Filter
The following code shows how to create your own HTML Filter to remove any tag you don't want. In this example, all form tags will be removed automatically. All you need to do is adding the code below into the bottom of the page.
- <script type="text/javascript">
- function CuteEditor_FilterHTML(editor,code)
- {
- return code.replace(/(<form[^\>]*\>)([\s\S]*)(\<\/form\>)/i, "$2");
- }
- function CuteEditor_FilterCode(editor,code)
- {
- return code.replace(/(<form[^\>]*\>)([\s\S]*)(\<\/form\>)/i, "$2");
- }
- </script>
asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
asp wysiwyg html editor: http://cutesoft.net/ASP
asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
Live Support: http://cutesoft.net/live-support/default.aspx