occurs when keyboard key is pressed for the control in focus
text.attachEvent("onKeyPress", function(code, e){ //code });