function copyToClipBoard(a)
   { 
  window.clipboardData.setData("Text",a);   
  alert("你已复制到剪贴板!");  
   } 
使用方法:<a href="javascript:copyToClipBoard('${orderInfoDto.reqContent }')">${orderInfoDto.reqContent }</a>
	
posted on 2010-08-04 15:40 
David1228 阅读(153) 
评论(0)  编辑  收藏