Home } Forms } Expanding Textbox



Automatically expands the size of a textbox to fit all of the entered text. Internet Explorer Only.
LastName:

The JavaScript Source: Forms: Expanding Textbox

Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Command-s). The script is yours!!!

    

Did you use this script?  Do you like this site?  Please link to us!

Add a comment, suggestion, or correction
[For questions about usage, consult the Notes tab above or visit the JavaScript forum. Do not include more than two (2) lines of code in your comments. If you have suggestions or corrections, you can submit them to us.]

    
   
       
[optional]
 
[optional]

   

Comments feed Comment Feed RSS 2.0

1. From: Arta
expanding text box
12/15/2008 10:24:42

i used it and this is not working for me do u think it is becouse my text box is auto filled from database and this is just for the users who put the text in the text box .??

Thanks

Arta

2. From: Lee (Admin)
01/16/2009 11:34:02

In order to answer you question, we would need to see your code, and how it is implemented. With that in mind, it is beyond the scope of these comments. You will need to post it over on the JavaScript forum. Thanks!

Sign up for the Web Development Daily Newsletter

internet.com Privacy Policy
We'll send this script to you!

(just click "Send it!" once!)