for a TEXTAREA, how to call a JavaScript Function on Return/Enter

Posted by nobosh on Stack Overflow See other posts from Stack Overflow or by nobosh
Published on 2010-05-15T18:36:18Z Indexed on 2010/05/15 18:44 UTC
Read the original article Hit count: 108

Filed under:
|
|

I have a textarea that when a users pressed enter/return on their keyboard, I want to submit the field to a JavaScript function, just like it works on Twitter.

Ideas?

Thanks

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about textarea