<html>
<head>
<script type="text/javascript">
function clk()
{
alert(document.getElementById("tab").innerHTML);
}
</script>
</head> <body>
<table id="tab">
<tr>
<td>
<input type="text" />
</td>
</tr>
</table>

<input type="button" onclick="clk();" value="click me"/>
</body>
</html>以上代码,在IE8 下,填写内容后,点击按钮,可以读取到填写的内容,但chrome就无法带出,只能读取原始代码,请问是什么原因造成的?