i insert many texarea’s, and teaxarea’s with tiny mce (WYSIWYG). But when i Insert this teaxarea’s from this function Tiny MCS don’t work. Why?
Thanks
$(document).ready(function(){
$("#InsertNew").click(function() {
$('<textarea id = "tinyMCE"></textarea>').appendTo($('#textBody'));
});
});
Well your code looks like this:
So what is happening here? You just add a textarea with the
ID="tinyMCE"but no behaviour is added to the TextArea.In jQuery I would expect at least the following:
or event better:
EDIT:
You might try something like this…
On the tinyMCE-Formus is already a diskussion going on…
http://tinymce.moxiecode.com/punbb/viewtopic.php?id=15477