I want to get nodeType and then compare it to where it is text node or element node.
or
Because a jquery collection is a "wrapped set" of DOM elements.