I'm currently working on an internal sales application for the company I work for, and I've got a form that allows the user to change the delivery address.
Now I think it would look much nicer, if the textarea I'm using for the main address details would just take up the area of the text in it, and automatically resize if the text was changed.

Any ideas? Gracious !!!
Edit by XeeMez:I've modified the code a little because it was acting a little odd, I changed it to activate on keyup, because it wouldn't take into consideration the character that was just typed.
resizeIt = function( ) { var str = $( 'iso_address' ).value; var cols = $( 'iso_address' ).cols; var linecount = 0; $A( str.split( "\n" ) ).each( function( l ) { linecount += 1 + Math.floor( l.length / cols ); // take into account long lines } ) $( 'iso_address' ).rows = linecount; };