js中的getAttribute()

getAttribute方法只能获取标签元素的属性,如果是象css样式中的属性,则不可已获取。

原文地址:https://www.cnblogs.com/runhua/p/7163408.html