prachimca's picture
Joined: 23/09/2011
Posts: 3
Add onkeydown event in fckeditor
I need to capture the key value to check if any of the function key (F1, F2, F3 etc..) is pressed or not. I used FCKeditor for user input. So I need to add OnKeyPress event on the textarea to call the function which will check the key value. I have searched a lot on net how to apply the OnKeyPress event, but not successful. My code is below.
PLZ PLZ help me...


function FCKeditor_OnComplete(editorInstance) {
editorInstance.Events.AttachEvent('OnKeyPress ', FCKeditor_OnKeyPress ) ;

function FCKeditor_OnKeyPress()