★点击全选文本复制到剪贴板★

2014-05-17 06:15:36 -0400
html代码(textarea) 分享自笑忘风
«Newer      Older»

----Comments(1)----
  容我愛你i (@gxp) | @ at 2014-05-17 06:21:
<script>
function oCopy(obj){
obj.select();
js=obj.createTextRange();
js.execCommand("Copy")
}
</script>
<textarea onclick="oCopy(this)">
点击我进行复制</textarea>
Comment:
Name:

Back to home

Subscribe | Register | Login | N