Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2005-01-06, 05:49 AM   #1
tickler
If there is nobody out there, that's a lot of real estate going to waste!
 
tickler's Avatar
 
Join Date: Dec 2003
Posts: 2,177
Lightbulb Copy form field to clipboard

Got tired of high-lighting and then copying form fields to the clipboard when posting, so...................

Add this before the form:
Code:
<script>
<!--
function doCopy(what){
Copied = what.createTextRange();
Copied.execCommand("Copy");
}
//-->
</script>
Add this to your form fields:
Code:
onclick="doCopy(this)"
So now just clicking on the form field automatically copies the field text to the clipboard.

You can send me money or girls
__________________
Latina Twins, Solo, NN, Hardcore
Latin Teen Cash
tickler is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:17 AM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc