JS报错Uncaught TypeError: Cannot read property 'style' of undefined(…)

原代码:

                        for(var i=0; i

报错:Uncaught TypeError: Cannot read property 'style' of undefined(…)

解决方法:

                        for(var i=0; i

                        for(var i=0; i

转载于:https://my.oschina.net/Ancora/blog/793092

你可能感兴趣的:(JS报错Uncaught TypeError: Cannot read property 'style' of undefined(…))