摘要: /* @param theFiled input或者textarea组件的id @param isalert 成功后是否提示 */ function copyToClipboard(theField,isalert) { var obj=document.getElementById(theField); if(obj!=null) { var clipBoardContent=obj.value; obj.select(); if(window.clipboardData) { window.clipboardData.setData("Text",clipBoa... 阅读全文
posted @ 2011-08-09 10:18 k1988 阅读(230) 评论(0) 推荐(0) 编辑