JavaScript Scripts





Español Français 中文 Deutsch Portuguese Japanese nederlands
   
 
Free Java Script Codes
Javascript List All
Slide Show Slide Show
Ad Display Ad Display
Image Effect Image Effect
Animated Image Effects Animated Image Effects
Form Validation Form Validation
Color Picker Tool Color Picker Tool
Formatting Forms Formatting Forms
Select All Select All
Dynamic Form Select Dynamic Form select
Dynamic Color Dynamic Color
Dynamic Color Calendar
Textbox Counter Textbox Counter
Alphanumeric Alphanumeric
Date Time Script Date & Time
Stop Watch Script Stop Watch script
Delete Repeated Values Delete Repeated Values
Pagination Pagination
Random Generator Random Generator
Animated Text Animated Text
Cursor Position Cursor Position
User Info Window / User Info
Security Security / Authenticate
Bookmark Bookmark
Mouse Effects Mouse Effects
Title Bar Title Bar
Status Bar Status Bar
Country List Country List
Free Games Free Games
Calculators Calculators
 




Select the content of Textarea just by a single click.


About
You can use this free javascript code to select the contents of textarea just by clicking a button


Features
a)Type any text in the textarea
b)Just click the button below and it will select all the text inside the text area
c)Press control + C to copy the text and paste it anywhere

Preview
Selecting Textarea:



Code
<!--        Script by hscripts.com          -->
<!--        copyright of HIOX INDIA         -->
<!-- Free javascripts @ http://www.hscripts.com -->
<script type="text/javascript">
function SelecText(testarea)
{
document.getElementById("testarea").select()
}
</script>
<!-- Script by hscripts.com -->

Release Date - 22.6.2007
Get free version without ©copyright link for just 5 price

For customization of this script or any script development, contact us at support@hscripts.com


Usage
a)Create a form with name "select" and place a text area having its id as "testarea"
Ex:-
<form name="select"> <textarea id="testarea" rows="3" cols="40"> Just click on the button and get text area selected. Now press Ctrl+C to copy the text and paste it anywhere </textarea>
b)Create a button with any name and call the function SelecText(testarea) by using onclick event.
Ex-
<input type="button" value="Select Text"onClick="SelecText(testarea)">
c)Now just copy the above free javascript code inside your html head tag.
Selecting text area....



License
- The javascript (misspelled as java script) is given under GPL License
- i.e. Free use for those who use the codes as it is.
- Free, if your modification does not remove our copyright information and links.
- Click Here for detailed license information.
- You can purchase the script if your requirements does not meet our GPL License terms.
Other Links

web hosting