Selecting only first level element, not child elements with the same element name

前端 未结 4 1234
执笔经年
执笔经年 2020-12-19 08:36

How would I select only the first level .block and not any of the children?

$(\'.block:not(\"Children of this here\")\') <--

4条回答
提交回复
热议问题