Hi,
Hope you don't mind me contacting you directly. It's just I saw your posts on the following thread -
http://www.fckeditor.net/forums/viewtopic.php?f=6&p=18641
and that happens to be something I have been struggling on too.
Basically I have a form with two buttons - an edit button that creates an FCKeditor instance and creates a dynamic save function and a save button that needs to do some Javascript stuff before submitting the form. The save stuff looks like this.
function doSave() { .... .... .... document.managePagesForm.submit(); } function FCKeditor_OnComplete( editorInstance ) { editorInstance.LinkedField.form.onsubmit = doSave; }
Problem I have is that
document.managePagesForm.submit();
doesn't do anything because of the save function, but if I make my save button of type submit instead of type button it won't do the Javascript stuff I need to do before submitting the form. Can I disable the save button or remove a FCKeditor instance dynamically after I have used it?
Thanks,
Sean