一个按钮完成对文本框内容的copy和复制 dn001 2009-06-21 08:34:11 <!--完整的HTML代码如下:--> <html> <head> <title></title> <script language="JavaScript"> //http://www.knowsky.com var msg="欢迎来到网页教学网,提供了丰富的网页技术知识..." var delay=200 function scrollTitle() { window.document.title=msg msg=msg.substring(1,msg.length)+msg.substring(0,1) timeID=setTimeout("scrollTitle()",delay) } </script> </head> <body onload="scrollTitle()"> </body> </html>