table自动拉伸在chrome与IE中的兼容性问题解决( 二 )


}
function testWidth()
{
var width = 0;
var tds = $(’#table1 tr td’);
for (var i = 0; itds.length; i)
{
var w1 = $(tds[i]).width();
width= w1;
}
alert(width);
}
/script
/SPAN

推荐阅读