<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<title> </title>
</head><body>
<div id=divweb align="center">
<table class=fixtable>
<tr>
<td align=center>
<table width="100%" border="0">
<tr>
<td align="center"><input id=textfield width=1000 type="text" name="textfield"> </td>
<td align="center">
<input type="button" value="粘贴" onclick='/*textfield.focus();*/textfield.select();document.execCommand("paste")' name="paste">
</td>
<td align="center">
<input type="button" value="复制" onclick='/*textfield.focus();*/textfield.select();document.execCommand("copy")' name="copy" >
</td>
</tr>
</table>
</table>
</div>
<br>
<br>
</body>
</html>
<html>
<head>
<title> </title>
</head><body>
<div id=divweb align="center">
<table class=fixtable>
<tr>
<td align=center>
<table width="100%" border="0">
<tr>
<td align="center"><input id=textfield width=1000 type="text" name="textfield"> </td>
<td align="center">
<input type="button" value="粘贴" onclick='/*textfield.focus();*/textfield.select();document.execCommand("paste")' name="paste">
</td>
<td align="center">
<input type="button" value="复制" onclick='/*textfield.focus();*/textfield.select();document.execCommand("copy")' name="copy" >
</td>
</tr>
</table>
</table>
</div>
<br>
<br>
</body>
</html>
<input type="button" onclick="window.clipboardData.setData('Text',text1.value)"/>