豆腐制作 都是精品
http://www.asp888.net 豆腐技术站
在做网络追捕的时候,经常遇到这样的问题,是否需要将ip 地址重新输入一次的问题,所以在这里我考虑如何使用剪贴板的问题
幸好在ie的html扩展dom中有这样的功能,我公享出来,大家一同分享。
<html>
<head>
<script language="jscript">
function doufucopy() {
textrange = test.createtextrange();
textrange.execcommand("copy");
}
function doufupaste() {
textrange = tacode.createtextrange();
textrange.execcommand("paste");
}
–>
</script>
要查找的ip地址:<input type=text id="test">
<input type=button value="复制" onclick="doufucopy();">
<input type=button value="粘贴" onclick="doufucopy();">
这样是不是很简单!:)我还是想说几句我以前已经说过很多次的事情,我们在code 的时候,一定要经常的查看
帮助!多思考!
