Still not getting anywhere has anyone dynamically loaded a text area and
converted it into a rte or should I try something else?

Matt.


Sam Collett wrote:
> 
> On 16/02/07, matt2012 <[EMAIL PROTECTED]> wrote:
>>
>> 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"
>> });
>> --
> 
> Try it without using the full url (i.e. use /js/tiny_mcs/tinby_mce.js)
> 
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/convert-textarea-loaded-by-ajax-into-tinymce-rte-tf3238402.html#a9003203
Sent from the JQuery mailing list archive at Nabble.com.


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to