http://www.xtx.kr
<html>
<head>
<title>http://www.xtx.kr</title>
<script>
<!--
function exe_copy(name) {
var doc=document.body.createTextRange();
doc.moveToElementText(document.all(name));
doc.select();doc.execCommand('copy');
alert('´ÙÀ½Àº ÇÏ´Ü¿¡ ÀÖ´Â textarea¸¦ ¼±ÅÃÇغ¸¼¼¿ä..');
}
function exe_paste(name) {
var doc=document.body.createTextRange();
doc.moveToElementText(document.all(name));
doc.select();doc.execCommand('paste');
alert('Ŭ¸³º¸µåÀÇ ³»¿ëÀÌ ºÙ¿©³Ö±â µÇ¾ú½À´Ï´Ù.');
}
//-->
</script>
</head>
<body>
<textarea name=form1 onclick="exe_copy(this.name)" cols=22 rows=4>textarea¾È¿¡ ÀÖ´Â
ÅؽºÆ®¸¦ ¼±ÅÃÇغ¸¼¼¿ä...</textarea><br>
<textarea name=form2 onclick="exe_paste(this.name)" cols=22 rows=4></textarea>
|