Auto-growing textarea | |
Author: 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. |
Tags: auto, code, firefox, grow, ie, javascript, js, resize, rows, scroll, scrollbars, scrollheight, textarea, программерское
Tweet |
Send by E-mail Print version |