$(document).ready(function () {
     tinyMCE.init(...);
});

Calls like this results in "tinyMCE is not defined" error from the
rest of the tinyMCE files.

So, I tried (to solve scope(?) issue):

$(document).ready(function () {
     tinyMCE.init(...);
     window.tinyMCE = '' + this.tinyMCE;
});

but, that resulted in "tinyMCE.xxxxx() is not a function" for all the
related functions from tinyMCE files.

So, does anyone know how to handle the scope(?) issue like this? TIA

--
  <?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com    Blog: http://rajeshanbiah.blogspot.com/

Reply via email to