How to get a specific jQuery item from a list of items?

后端 未结 5 1187
难免孤独
难免孤独 2021-01-07 23:23

I have this:

  • first
  • second
  • third
  • fourth
5条回答
  •  心在旅途
    2021-01-08 00:21

    $('li').get(0) will return plain DOM element. you cannot call jQuery methods on same.

提交回复
热议问题