javascript Programming Glossary: adjustedheight
Creating a textarea with auto-resize http://stackoverflow.com/questions/454202/creating-a-textarea-with-auto-resize id.style id document.getElementById id if text return var adjustedHeight text.clientHeight if maxHeight maxHeight adjustedHeight adjustedHeight.. adjustedHeight text.clientHeight if maxHeight maxHeight adjustedHeight adjustedHeight Math.max text.scrollHeight adjustedHeight if.. text.clientHeight if maxHeight maxHeight adjustedHeight adjustedHeight Math.max text.scrollHeight adjustedHeight if maxHeight adjustedHeight..
|