!!!JavaScript テキストエリアの内容をクリップボードにコピー *[execCommand|http://msdn.microsoft.com/ja-jp/library/cc428119.aspx] *[TextRange|http://msdn.microsoft.com/ja-jp/library/cc427934.aspx] ::IE var txt_area = document.getElementById(text_area_id); txt_area.focus(); txt_area.select(); var txtRange = txt_area.createTextRange(); txtRange.execCommand("copy");