摘要: 1.element要用getElementById or ByTagName来得到, 2.setAttribute("class", vName)中class是指改变"class"这个属性,所以要带引号。 3.IE中要把class改成className,.....IE不认class,所以最好写两句, 阅读全文
posted @ 2017-09-10 10:47 Claiyre 阅读(631) 评论(0) 推荐(0) 编辑