for (var i = 0; i < data; i++) { $(".element:nth-child(i)").hide(); ... expressions such as :eq() or :even jQuery follows JavaScript's "0-indexed" counting.
確定! 回上一頁