剪定板の操作
関数 copyToClipboard()
{
var d=document.all("source").value;
window.clipboardData.setData('text', d);
}
function setValue()
{
var t=new Array();
var t=window.clipboardData.getData('text').split("n");
var h1;
var h2;
var h3;
var h4;
h1 = "
";
h2 = ""; h3 = " | ";
h4 = "
";
var obj = document.getElementById("ドドドド");
//alert(document.getElementById());
alert(t.length);
alert(t[0]);
//alert(t[0].split("t")[1]);
var h = "";
for(var i=0;i
h = h + h2 + t[i] + h3;
}
obj.innerHTML = h1 + h + h4;
//obj.innerHTML = "