Automatic Expansion of a text box

I am trying to have a text box automatically expand height wise as a person continues to type using JQuery or Jacascript.  How do I do that?  Thanks!
VBBRettAsked:
Who is Participating?
 
GaryConnect With a Mentor Commented:
http://jsfiddle.net/yJ8CT/
$('#mytextarea').keypress(function(e){
    $(this).height(this.scrollHeight)
});

Open in new window

If you want something a bit more fancier
http://www.jacklmoore.com/autosize/
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.