▨ 标签《文本框》下的文章:
日期:2012-3-6  |  作者: paul  |  分类:js  |  围观群众3578  |  参与讨论0
<script> 
function oCopy(obj){ 
obj.select(); 
js=obj.createTextRange(); 
js.execCommand("Copy") 
</script> 
<input type="text" value="点击我copy!" onclick="oCopy(this)"> 

Copyright © 2010 - 2025 工作日志 | QQ:285582676 | | 京ICP备15035559号-3

返回顶部