I am using a Text Editor which will be displayed in a add form.I am loading the form through ajax.When i click the add button the add form will loaded in ajax.Now the problem is my HTML Text editors script files are not getting loaded in my ajax form.Simple text area alone displays.
How to load the text editor in the ajax form,Please advice me.
This is the editor i am using
<script type='text/javascript'>
var j = jQuery.noConflict();
j(function() {
j("#Textarea1").htmlarea({
toolbar: ["html", "|",
"forecolor",
"|", "bold", "italic", "underline", "|", "p", "h1", "h2", "h3", "|", "link", "unlink"] // Overrides/Specifies the Toolbar buttons to show
});
});
</script>
<textarea id="Textarea1" cols="50" rows="15"><p><h3>Another TextArea</h3>This is some sample text to test out the <b>WYSIWYG Control</b>.</p></textarea>
Please try to load all the js files during Ajax load.
Please also mention the type of html editor you are using like FCKEditor, Tiny MCE etc.