$('#waterfall').each(function(){$(this).find('div.item').each(function(){element=$(this).find('span').first();alert(element.text());});第一個waterfall可以,第二個waterfall就沒有響應了不能這樣嵌套嗎?
jquery中each嵌套的問題
嗶嗶one
2019-04-09 20:24:50