豆腐制作 都是精品
http://www.asp888.net 豆腐技术站
在做网络追捕的时候,经常遇到这样的问题,是否需要将IP 地址重新输入一次的问题,所以在这里我考虑如何使用剪贴板
的问题
幸好在IE的HTML扩展DOM中有这样的功能,我公享出来,大家一同分享。
1<html>
2<head>
3<script language="JScript">
4function doufucopy() {
5textRange = test.createTextRange();
6textRange.execCommand("Copy");
7}
8function doufupaste() {
9textRange = taCode.createTextRange();
10textRange.execCommand("Paste");
11}
12\-->
13</script>
14要查找的IP地址:<input id="test" type="text"/>
15<input onclick="doufucopy();" type="button" value="复制"/>
16<input onclick="doufucopy();" type="button" value="粘贴"/>
17这样是不是很简单!:)我还是想说几句我以前已经说过很多次的事情,我们在code 的时候,一定要经常的查看
18帮助!多思考!</head></html>