js中的getAttribute()

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

posted @ 2017-07-13 22:15  某个润滑君  阅读(680)  评论(0编辑  收藏  举报