<html>
<head>

<script language="Javascript" type="text/javascript">
function sixteenth(src)
{
    var oSrc = eval("document." + src);
    oSrc.focus();
    oSrc.select();

    textRange = oSrc.createTextRange();
    textRange.execCommand("Copy");
    window.status = "Text is copied to clipboard!";
    setTimeout("window.status=''", 1000);

}
</script>

</head>

<body>

<form name="text">
<a href="javascript:sixteenth('text.code')"> &nbsp;Copy All&nbsp; </a><br><br>
<textarea name="code" rows=10 cols=35 >1st JavaScript Editor is used to create animations and other special effects for Web pages using DHTML and JavaScript.
</textarea>
</form>

</body>
</html>

相关文章:

  • 2021-08-31
  • 2021-12-15
  • 2021-05-17
  • 2022-01-22
  • 2021-11-07
  • 2021-12-22
  • 2021-12-09
猜你喜欢
  • 2022-12-23
  • 2022-02-27
  • 2022-12-23
  • 2021-08-02
  • 2021-08-24
  • 2021-07-29
  • 2022-12-23
相关资源
相似解决方案