// called on save
function doSave(){
alert('Saved.');
document.getElementById('someElement').innerHTML = 'Saved!';
return false; //this disables default action (submitting the form)
}
// called when FCKeditor is done starting..
function FCKeditor_OnComplete( editorInstance ){
editorInstance.LinkedField.form.onsubmit = doSave;
}
Re: Handling event OnSave
// called on save function doSave(){ alert('Saved.'); document.getElementById('someElement').innerHTML = 'Saved!'; return false; //this disables default action (submitting the form) } // called when FCKeditor is done starting.. function FCKeditor_OnComplete( editorInstance ){ editorInstance.LinkedField.form.onsubmit = doSave; }