I have a textbox and every time something is typed into it. I want to capture the key pressed and perform some action. For this I need to capture the keyboard event. Currently I am trying to override the keyDown: function but it wont work.
So how can I do it?