How to Attach to "Delete" event?

  •  04-28-2006, 1:56 PM

    How to Attach to "Delete" event?

    Hi there,
    In the Javascript API example is shown how to attach to the "onkeypress" event. However I want every time a text is being altered or deleted to make some Javascript validation of the HTML. for inserting new text in the editor I can attach to the onkeypress event and make the validation every time but if the user tries to paste some text using the context menu or delete some content again by using the context menu I cannot perform validation then. Is there any way to attach to events like "onchange" for the editor so that when content is changed additional javascript fuctions can be called?

    Thanks

View Complete Thread