阅读背景:

如何检查元素是否与纯JS中的:empty伪类相匹配?

来源:互联网 

How can I check, in pure JavaScript (no jQuery, no libraries), if a given HTML element is empty? My definition of "empty" is the same as the (no jQuery,




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: