Jquery對象經常使用方法

1、JQuery對象的基本方法:css (1) get(); 取得全部匹配的元素html (2) get(index); 取得其中一個匹配的元素 $(this).get(0) 等同於 $(this)[0]jquery (3) Number index(jqueryObj); 搜索子對象ajax (4) each(callback); 相似foreach,不過遍歷的是元素數組json 如:數組 $(
相關文章
相關標籤/搜索