<!-- ★ ----------- ↓ この間をコピー&ペーストします。 ------------ -->
<!-- demo #1 textarea -->
<span class="control-copytextarea" onClick="return
fieldtoclipboard.copyfield(event, 'select1')">Select All</span><br>
<textarea id="select1" name="select1" rows=10 cols=35>
There is no passion to be found playing small - in settling for a life that
is less than the one you are capable of living. --Nelson Mandela
</textarea>
<br /><br />
<!-- demo #2 input text with control -->
<input id="select2" name="select2" type="text"
value="http://www.dynamicdrive.com/dynamicindex11/selectform.htm" size="35"
/>
<span class="control-copyinput" onClick="return
fieldtoclipboard.copyfield(event, 'select2')">Copy</span>
<br /><br />
<!-- demo #3 input text only -->
<fieldset>
<legend>Share this URL. Click to copy to clipboard!</legend>
<input id="select3" name="select3" type="text"
value="http://www.dynamicdrive.com/dynamicindex11/selectform.htm" size="35"
onClick="return fieldtoclipboard.copyfield(event, this)"/>
</fieldset>
<br /><br />
<!-- demo #4 regular div -->
<div id="select4">
Our greatest weakness lies in giving up. The most certain way to succeed is
always to try just one more time. --Thomas A. Edison
</div>
<script src="00255777438.js">
/***********************************************
* Select (and copy) Form Element Script- (c) Dynamic Drive DHTML code
library (www.dynamicdrive.com)
* Add this script to the very END of your page, right above the </body> tag
if possible
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and
100s more
***********************************************/
</script>
<!-- ★ ----------- ↑ この間をコピー&ペーストします。 ------------ -->