var myTable = document.getElementById('filetable');
var aRows=myTable.rows;
在IE浏览器可以正常使用,但是在chrome浏览器会报aRows方法不存在,
我想问下chrome中有什么替代的方法或者其他的什么解决方案
aRows是tr集合,不是方法。。你用错了吧,chrome也支持rows属性
alert(aRows.length)
alert(aRows[0].cells.length)
chrome浏览器调试,报的这个错