An utility that makes textarea expands in height to fit its contents.
It is an YUI implementation of an idea, Expanding Text Areas Made Elegant by Neil Jenkins.
Usage:
<link rel="stylesheet" href="assets/node-autogrow.css">
<script type="text/javascript" src="http://yui.yahooapis.com/3.7.3/build/yui/yui-min.js"></script>
<script type="text/javascript" src="node-autogrow.js"></script>
<script>
YUI().use("node-autogrow", function (Y) {
Y.one("textarea").plug(Y.AutoGrow);
});
</script>
<textarea>User input string...</textarea>