select all the text from form element (eg. textarea,textbox) |
||||
63 views
To select content or text from form element: use: select(); Example:
Demo: |
| « what is the other method we can use, when we are not using form name ( getElementById() ) in Javascript? | focus the form element using focus() » |
| Posted on Wednesday, April 8th, 2009 at 1:53 pm under Javascript | RSS 2.0 Feed | |