Auto-growing textarea | |
Автор: utilmind |
Here is the small code-snippet which demonstrates how to resize the textarea, so the text could fit its height, without displaying the scrollbars. var IsIE = document.all?true:false function textarea_resize(textarea_obj) { Works at least in IE7, FF2/3, Opera 9. |
Метки: auto, code, firefox, grow, ie, javascript, js, resize, rows, scroll, scrollbars, scrollheight, textarea, программерское
Tweet |
Отправить на E-mail Версия для печати |