jQuery--屬性和CSS

jQuery–屬性和CSS 屬性: attr(name) 得到指定屬性名的值 attr(key ,val ) 給一個指定屬性名設置值 attr(prop ) 給多個屬性名設置值。參數:prop json數據 {k : v , k : v , …..} removeAttr(name) 移除指定屬性javascript CSS類 <xxx class="a b c d my "> addClass(
相關文章
相關標籤/搜索