How to get the text of a div which is not a part of any other container in JQuery?

后端 未结 6 1637
野趣味
野趣味 2021-02-05 15:10

This should be real easy. Given below is the HTML.

#Attachment#
6条回答
  •  孤城傲影
    2021-02-05 15:45

    I think the text is actually a text element - a child of the parent div. So you just need to query for the first child. Not sure though. hth

提交回复
热议问题