How to select of the with javascript?
前端 未结 6 903
忘了有多久
忘了有多久 2020-12-15 22:35

I know this is very easy question, but I couldn\'t find the answer anywhere. Only answers are the ones using jQuery, not pure JS. I\'ve tried the code below and it doesn\'t

6条回答
  •  不思量自难忘°
    2020-12-15 23:20

    There are a lot of ways to accomplish this, and this is but one of them.

    $("table").find("tbody td").eq(0).children().first()
    

提交回复
热议问题