Re: IsDirty

  •  05-04-2010, 1:31 PM

    Re: IsDirty

    You can use the following method to detect whether the editor content has been changed:
     
    CuteEditor_OnChange

    This event is invoked when the content of Cute Editor is changed.

    Example:

    function CuteEditor_OnChange(editor)

        //when the content be changed..
        document.getElementById("ctl_onchange").innerHTML=editor.id+" changed at "+ new Date().toLocaleTimeString();
    }
     
     
    Regards,
    Eric
View Complete Thread