Is there any code I can copy or view that I wrote? Can't find the mistake you made when copying it yourself?
雨中漫步
雨中漫步 2017-05-30 17:03:22
0
1
766

//Set CSS

Base.prototype.css= function(attr,value) {

for(var i=0;i<this.elements.length;i ){

if (arguments.length==1){

return getStyle(this.elements[i],attr);

}

this. elements[i].style[attr] = value;


##TypeError: this.elements[i].style is undefined


base.js (line 75, column 3) this.elements[i].style[attr] = value; This sentence always reports an error and cannot be found Error


came out

雨中漫步
雨中漫步

reply all(1)
大家讲道理

If you study Li Yanhui’s tutorial, try to use the same version of Javascript

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template