You can also pass even or odd to select all even or odd children of a parent. ... $("#div2 p:nth-child(odd)").css("background-color", "purple");.
確定! 回上一頁