jQuery possible to Detect when a user is in a Textarea and when they leave? -


Is it possible for jQuery to detect when a user is in Tedeira and when they leave? So when I do not focus on the user, Textaria can make height = 15 px ...

But when the user focuses on clicks and text, it gets a height of 50px? Try something like this:

Try something like this:

  $ ('# TextareaID '). Function () {$ (this). Heights (50);}). Blur (function () {$ (this). Height (15);});  

Comments