Hey I am trying to create a form with multiple fields, and instead of mailing it, I want it to save to clipboard. The only thing I have now is things others tried.
Any ideas???

<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script>
function el(tid) {return document.getElementById(tid);}

function copyit(){
var b = [];
b.push(el("t1").value);
b.push(el("t2").value);
b.push(el("t3").value);
b.push(el("t4").value);
var buffer = b.join(';');
CB(buffer);

document.execCommand("Copy")
copiedtext=window.clipboardData.getData("Text");
}
</script>
</head>
<body>
<input type="text" name="a1" value="" id="t1" />
<input type="text" name="a2" value="" id="t2" />
<input type="text" name="a3" value="" id="t3" />
<input type="text" name="a4" value="" id="t4" />
<BUTTON onClick="copyit();">Click here to Copy the contents </BUTTON>
</body>