qq_小火车_04020340
2016-10-16 17:19
为什么需要写成obj.style[attr],而不能写成obj.style.attr?
因为传入的 attr = 'width' ,是带引号的,
即 obj.style.width === obj.style.['width'];
qq_小火车...
非常感谢!
2016-10-16 19:59:02
共 1 条回复 >
JS动画效果
113924 学习 · 1443 问题
相似问题
回答 4
回答 2
回答 1