Nothing to see...

A simple blog about all things in the world that is ridikulouse.

Thursday, April 14, 2011

Jquery IPWEDITOR, tinyMCE, and Live

Hi, I thought that I would share this with you: I wanted to add DOM elements and have the IPWEDITOR with tinyMCE fire everytime I clicked the element to launch tinyMCE. I found out how to do it when elements are in the dom and then have the jquery code fire-up, however, I couldn't get it to fire when I'm dynamically loading elements into the dom. So here's what I did, I used the live function in jquery: Normally: //Create an instance of the TinyMCE    var ed = new tinymce.Editor(".f_editableArea", {        ...