请问如何将table中的内容写到一个新的弹出窗口中?
如题!
请大家帮帮忙教教我!谢谢!
------解决方案-------------------- <a href= "s.html " target= "_blank "> dsfs </a>
<div id= "k ">
<table border= "1 ">
<tr>
<td> s1 </td>
</tr>
<tr>
<td> s2 </td>
</tr>
</table>
</div>
s.html:
<html>
<head>
</head>
<body onload= "document.body.innerHTML = opener.document.getElementById( 'k ').innerHTML; ">
</body>
</html>