1.text() $(‘.class’).text() 找到的为所有含有该class的元素文本内容的集合。 2.html() $(‘.class’).html() 找到的为第一个含有该class的元素的代码块。