This is like the [elastic](http://unwrongest.com/projects/elastic/) plugin but for text fields. Text fields will stretch accordingly to fit their content. It does not stretch text fields any longer than their parent's width, preventing breaking the layout.
$('input').rubber();
You can control the starting width by setting the width
CSS field and the max width with the min-width
CSS field.
You can download this project directly from here.
You can also clone the project with Git by running:
$ git clone git://github.com/fent/jquery.rubber.js