相关疑难解决方法(0)

为什么$ .isEmptyObject($('#id-does-not-exists-on-page'))返回false?

我有点困惑jQuery.isEmptyObject method.

$.isEmptyObject([]) - >返回true

$('#id-does-not-exist-on-page') => []

$.isEmptyObject($('#id-does-not-exist-on-page')) 返回false

为什么?谢谢.

jquery

2
推荐指数
1
解决办法
3581
查看次数

标签 统计

jquery ×1