<table><tbody><tr><td></td></tr></tbody></table>
jquery :
$(tbody).children().each(function(){})
此方法在firefox 中,运行正常。
在ie8中运行出错。问题是children
改成
$(tbody).find("tr").each(function(){})
运行OK!
<table><tbody><tr><td></td></tr></tbody></table>
jquery :
$(tbody).children().each(function(){})
此方法在firefox 中,运行正常。
在ie8中运行出错。问题是children
改成
$(tbody).find("tr").each(function(){})
运行OK!