.each() ,同JS的迴圈 <p>Hello I am paragraph number 1</p> ... _____ let classNames = []; $('p[class]').each(function(i){ //選取每個有class的p進行迴圈
確定! 回上一頁