How to get the first child id inside the div using JQuery

前端 未结 7 1859
心在旅途
心在旅途 2020-12-18 21:47

How to get the first child id inside the div using JQuery.

Sample code:


                      
相关标签:
7条回答
  • 2020-12-18 22:40
    $("#id1:first-child").attr("id")
    
    0 讨论(0)
提交回复
热议问题