Auto Growing Textareas

Auto Growing Textareas
 点击下载

This plugin makes it easy to have auto-growing textareas. Meaning, if you have a textarea, as the user types it will expand vertically to accommodate the size of the entry. This was inspired by Facebook's auto-expanding text areas.

To make a textarea autogrow, simply do this

  1. $('textarea').autogrow(); 
  2. $('textarea.classname').autogrow(); 

 

转载请注明:代码家园 » Auto Growing Textareas

评论列表(网友评论仅供网友表达个人看法,并不表明本站同意其观点或证实其描述)