Query采用each方法遍历

$("button").click(function(){
  $("li").each(function(){
   alert($(this).text())
  });
});
相关文章
相关标签/搜索