该部分内容来源于网络收集,主要做备忘。 $("parent > child")、$("A B")、$("div#test")、$("div,#test")、$(".test","div") JQuery中$.each 和$(selector).each()的区别详解 HTML5 自定义属性 data-* 和 jQuery.data 详解 jquery中attr和prop的区别 jquery parent() parents() closest()区别 jquery中text(),val(),html()区别 jquery中eq和get的区别与使用方法 jQuery 中 jQuery(function(){})与(function(){})(jQuery) 的区别 jQuery中$(function(){})与(function($){})(jQuery)、$(document).ready(function(){})等的区别详细讲解 jQuery中:first和:first-child的区别