仅在IE6/7/8下cssText返回值少了分号的测试代码_javascript技巧
来源:懂视网
责编:小采
时间:2020-11-27 20:58:26
仅在IE6/7/8下cssText返回值少了分号的测试代码_javascript技巧
仅在IE6/7/8下cssText返回值少了分号的测试代码_javascript技巧:测试代码: IE6/7/8下cssText返回值少了分号 TEST var div = document.getElementsByTagName('div'); alert(div[0].style.cssText); [Ctrl+A 全选 注:如需引入外部Js需刷新才能执行] 各浏览器输出如下IE6/7/8 : IE
导读仅在IE6/7/8下cssText返回值少了分号的测试代码_javascript技巧:测试代码: IE6/7/8下cssText返回值少了分号 TEST var div = document.getElementsByTagName('div'); alert(div[0].style.cssText); [Ctrl+A 全选 注:如需引入外部Js需刷新才能执行] 各浏览器输出如下IE6/7/8 : IE

测试代码:
仅在IE6/7/8下cssText返回值少了分号的测试代码_javascript技巧
仅在IE6/7/8下cssText返回值少了分号的测试代码_javascript技巧:测试代码: IE6/7/8下cssText返回值少了分号 TEST var div = document.getElementsByTagName('div'); alert(div[0].style.cssText); [Ctrl+A 全选 注:如需引入外部Js需刷新才能执行] 各浏览器输出如下IE6/7/8 : IE