js| clipboard
<! DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 transitional//en" >
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<meta name= "generator" content= "EditPlus" >
<meta name= "Author" content= "" >
<meta name= "Keywords" content= "" >
<meta name= "Description" content= "" >
</HEAD>
<BODY>
<script>
function CopyToClipboard ()
{
var clipboardcontent=window.document.title;
clipboardcontent+= ' \ r \ n ' + window.document.location.href;
Window.clipboardData.setData ("Text", clipboardcontent);
Alert ("Copy successful, paste it into your qq/msn and recommend it to your friends!") \r\n\r\n Content is as follows: \ r \ n "+ clipboardcontent);
}
</script>
<input title= ' Click the copy title and address to the Clipboard and paste it directly on the msn/qq. ' Type=button value= ' Click to copy the address of this page and pass it to the friend on Qq/msn ' >
</BODY>
</HTML>