我正在使用一个文本编辑器,它将显示在一个添加form.I通过ajax加载表单。当我点击添加按钮添加表单将加载在ajax.Now问题是我的HTML文本编辑器脚本文件没有在我的ajax表单中加载。单独显示简单的文本区域。 如何在ajax表单中加载文本编辑器,请指教我。html文本编辑器没有以ajax的形式显示
这是我使用
<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>
你能提供一些代码吗? –