I have the following HTML node structure:
< 12条回答 心在旅途 (楼主) 2020-11-28 02:05 $("#foo > div").length Direct children of the element with the id 'foo' which are divs. Then retrieving the size of the wrapped set produced. 0 讨论(0) 查看其它12个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
$("#foo > div").length
Direct children of the element with the id 'foo' which are divs. Then retrieving the size of the wrapped set produced.