含有

1篇文章
1 js判断当前元素是否含有子元素 // 判断一个元素是否还有子元素 function hasChildren(e) { var children = e.childNodes; var len = …

关注我们的公众号

微信公众号