I'm trying to the editor with dynamic html. More specifically, I have a <div> that I change it's content to reflect the details of what is selected from a list on the same page. One of these elements has a FCKEditor textarea.
When I reset the content of the <div> element using innerHTML, it works fine the first time. The second time I switch its content with html that has FCKEditor, I get a "Can't execute code from a freed script" error in IE6. Any ideas?
The first time, I go through creating a new instance of FCKeditor() then use ReplaceTextarea() on it. The second time, I only do ReplaceTextarea() on the variable holding on to FCKeditor instance.
When I reset the content of the <div> element using innerHTML, it works fine the first time. The second time I switch its content with html that has FCKEditor, I get a "Can't execute code from a freed script" error in IE6. Any ideas?
The first time, I go through creating a new instance of FCKeditor() then use ReplaceTextarea() on it. The second time, I only do ReplaceTextarea() on the variable holding on to FCKeditor instance.
