I\'m little confused by jQuery.isEmptyObject method.
jQuery.isEmptyObject method
$.isEmptyObject([]) -> returns true
$.isEmptyObject([])
but
$(\'#id-does-not-exist-
According to the jQuery documentation (isEmptyObject) :
The argument should always be a plain JavaScript Object as other types of object (DOM elements, primitive strings/numbers, host objects) may not give consistent results across browsers