I would like to select the nth td
from all of the td
, how do I do that?
I know I can do it with document.querySelectorAll("td")[nth]
, but I'm looking for a pure css way.
I tried document.querySelectorAll("td:nth-child(77)")
, but it doesn't give the result as document.querySelectorAll("td")[77]
does.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…