我只想显示4个项目并隐藏其他项目。我该怎么办
$(".item").each(function(i, e){ if(i == 4 ){ $(this).addClass("hide"); } })
first