Problems in the package library--Concatenation [2]
李冲
李冲 2019-03-09 22:04:55
0
0
1073

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

// this.elements[0].style.attr=value;

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

return this;

Question: The writing style['color'] reports an error, why can it be passed in as a parameter? Thank you, teacher

}


李冲
李冲

reply all(0)
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template