document.getElementById("DataGrid1").all;在谷歌中兼容性问题,顶者有分
如图所示,var links = document.getElementById("DataGrid1").all;在IE下得到值没问题,谷歌中不行,查了查说all不兼容,不用all该用什么呢,用children、rows试了试也都不行,要遍历datadrid每行信息,应该怎么写
[解决办法]
$("[id=DataGrid1]").each(function(){
//处理
})