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 閱讀(149)
評論(0) 編輯 收藏