use event.which (firefox support) or event.keyCode
check for textarea:focus