JS Copy to the Clipboard JS clip js to achieve drawing function JS implementation copy Copy to shear plate cut to copy shearing function right button cut to copy VB Copy to shear plate cut and copy
<script language=javascript>
function Copy (OB) {
var obj=findobj (OB); if (obj) {
Obj.select (); Js=obj.createtextrange (); Js.execcommand ("Copy");}
}
function Cut (OB) {
var obj=findobj (OB); if (obj) {
Obj.select (); Js=obj.createtextrange (); Js.execcommand ("cut");
}
function Findobj (n, D) {file://v4.0
var p,i,x; if (!d) d=document; if ((P=n.indexof ("?")) >0&&parent.frames.length) {
D=parent.frames[n.substring (p+1)].document; N=n.substring (0,p);}
if (!) ( X=d[n]) &&d.all) x=d.all[n]; for (i=0;! x&&i<d.forms.length;i++) X=d.forms[i][n];
for (i=0;! x&&d.layers&&i<d.layers.length;i++) X=findobj (n,d.layers[i].document);
if (!x && document.getElementById) X=document.getelementbyid (n); return x;
}
File://-->
</SCRIPT>
<input type= "button" name= "button" value= "Copy to Clipboard" Onclick=copy (' Txtoutput ') >
<input type= "button" name= "button" value= "Clip to Clipboard" Onclick=cut (' Txtoutput ') >
<br><form name= "fom1" method= "POST" action= "" >
<textarea name= "Txtoutput" rows= "5" cols= "a" > button copy and Cut: With the press twist to achieve replication and shearing, in the screen about the key when the role is very large. </textarea>
</form>