🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

rubber.js is a small yet useful jQuery plugin that dynamically stretches and shrinks an input field based on the text length while typing.

Resize input

Documentation

This is like the elastic plugin but for text fields. Text fields will stretch accordingly to fit their content. It does not stret any longer than their parent's width, preventing breaking the layout.

Usage

$('input').rubber() 

You May Also Like