onkeyup and onblur events

  •  10-27-2005, 7:18 AM

    onkeyup and onblur events

    Hi:
     
    I'm trying to assign onkeyup and onkeypress events to an editor, but I'm having a few problems.
     
    I know that there's an example file (JavaScript-API.aspx) which shows how to do this, but when this is rendered it applys the event handling to the table surrounding the textarea and not to the textarea itself.  This means that the method in the JavaScript-API.aspx example works for onkeyup but not for the onblur method (because as far as I can tell, onblur isn't suppored by a html table).
     
    So, what I want to know is... Is there a way to apply the event handling to the text area generated by the editor control as when I try to add one to the control in the body onload event it doesn't work.  Whereas the same code works if I change the focus from the editor control to a plain html textarea.
     
    Thanks
     
    Simon
View Complete Thread