I\'m little confused by jQuery.isEmptyObject method.
jQuery.isEmptyObject method
$.isEmptyObject([]) -> returns true
$.isEmptyObject([])
but
$(\'#id-does-not-exist-
because $('#id-does-not-exist-on-page') returns a selector that matches nothing not an empty object which would be {}
$('#id-does-not-exist-on-page')
{}