Home / Free JavaScripts / Forms / Here

Cut & Paste "Select-all" form element script II

Credit: JavaScript Kit

Description: Version two of the Select-All form element script, this one highlights the content of the specified form element as soon as the mouse sets focus on it.


Directions: Just add the below into the form element's tag:


For example:

<textarea cols=15 rows=15 onFocus="">This is a test</textarea>

JavaScript Tools:
Site Info

CopyRight (c) 2015 JavaScript Kit. NO PART may be reproduced without author's permission. Contact Info