I need to access the DOM tree and get the elements just 1 level below the current element.
Read the following code:
8条回答 广开言路 (楼主) 2021-02-05 21:03 This is simplier than you think: var nodes = node.querySelector("node > div"); 0 讨论(0) 查看其它8个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
This is simplier than you think:
var nodes = node.querySelector("node > div");