Hi,
I am using FCKeditor - http://www.fckeditor.n et - to allow textual input in a web page. The user can type whatever they want and then click the save button in the FCKeditor instance when they are finished. When the save button is clicked a Javascript function that I have written is executed to retrieve the user input and update the HTML form. My function is linked to the save button in the FCKeditor instance using the following line of code -
This however causes the doSave function to be called when the form is submitted.
Is there anyway of undefining the doSave function?
Thanks,
Sean
I am using FCKeditor - http://www.fckeditor.n et - to allow textual input in a web page. The user can type whatever they want and then click the save button in the FCKeditor instance when they are finished. When the save button is clicked a Javascript function that I have written is executed to retrieve the user input and update the HTML form. My function is linked to the save button in the FCKeditor instance using the following line of code -
Code:
function FCKeditor_OnComplete( editorInstance )
{
editorInstance.LinkedField.form.onsubmit = doSave;
}
Is there anyway of undefining the doSave function?
Thanks,
Sean
Comment