[thelist] Using tinyMCE as an Ajax Editor

Jeffrey Barke jeffrey.barke at themechanism.com
Thu Jun 21 11:40:56 CDT 2007


Anyone familiar with using tinyMCE and loading content dynamically? I  
assume my problem is simple, which is why I'm fairly frustrated right  
now.

After successfully retrieving content via AJAX, I attempt to update  
the editor using the setContent method. A flash occurs and the  
content area of tinyMCE disappears. No JS error is throw in Firefox.

Here's the offending line:
tinyMCE.setContent(objJson.data)

Jeffrey

--
Cheers.
Jeffrey Barke
jeffery.barke at theMechanism.com
Lead Developer, US
theMechanism - New York City
440 9th Avenue, 8th Floor
New York, NY 10001-1631
t: +1 212.404.3150
c: +1 917.941.1232
f: +1 212.404.3228



http://www.theMechanism.com

Subscribe to theMechcast, our monthly Podcast:
http://feeds.feedburner.com/theMechcast

theMechanism - London
3rd Floor
405 The Strand
London E14 9FW
United Kingdom
t: +44 (0)20 7240 4942
f: +44 (0)20 7240 2262

--
The information contained in this Electronic mail message is attorney  
privileged and confidential information intended only for the use of  
the individual or entity named above. Such information also is  
intended to be privileged, confidential, and exempt from disclosure  
under applicable law. If the reader of this message is not the  
intended recipient or the employee or agent responsible to deliver it  
to the intended recipient, you are hereby notified that any  
dissemination, distribution, or copying of this communication is  
strictly prohibited. If you have received this communication in  
error, please notify us immediately by telephone.

Blah, blah, blah...
--





More information about the thelist mailing list