要这样??
<body bgcolor="#FFFFFF">
<script>
function printOperation()
{        
         var printer=document.all("printer")
         printer=printer.removeNode(true)
var printerTD=document.all("printerTD") //这里用的是td对象
printerTD.appendChild(printer)  
}function onPrint()
{
 alert("print")
}
</script>
<OBJECT classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 id=WebBrowser width=0>
  </OBJECT> 
 <table><tr id="printerTR"><td id="printerTD"> //此处加了一个td
 <input id="printer" onclick="onPrint()" type=button value=查阅 name=Button>
 <input id="printerView" onclick="printOperation()" type=button value=消失 name=Button4>
</td></tr></table>  
<br></body>