日期:2014-05-17 浏览次数:20464 次
<script type="text/javascript"> function copyToClipboard() { var d = document.all("Uri").value; window.clipboardData.setData('text', d); alert("文章地址已经复制!"); } </script> <button onclick= "copyToClipboard();">拷贝</button> <input type="text" id="source" value= ""/>
string url = Request.Url.AbsoluteUri; this.Uri.value = url;