Im using jqModal to pop up a dialog with a page loaded using ajax load(...)
in the remote page is a text area that I want to be converted to tinymce.
The code below is the latest failed effort, do I need the plugin?
Its the tinyMCE.init where it falls down going to a white page where it
endlessly
searches for textareas to convert.
someone enlighten me!
Matt.
$('#dialog2')
.jqm({
trigger: 'a.remote2',
overlay: 0,
closeClass: 'jqmdClose'},
function(h) {
$('.jqmdMSG').load('thePage.php',function(){formatform()});
},
onClose /
);
function formatform() {
$.getScript("
http://www.fst-is.org.uk/js/tiny_mce/tiny_mce.js", function(){
loadtiny() });
function loadtiny() {
tinyMCE.init({
mode : "textareas",
theme : "advanced",
editor_selector : "mceAdvanced"
});
--
View this message in context:
http://www.nabble.com/convert-textarea-loaded-by-ajax-into-tinymce-rte-tf3238402.html#a9001051Sent from the JQuery mailing list archive at Nabble.com.
_______________________________________________
jQuery mailing list
discuss@jquery.comhttp://jquery.com/discuss/