jQuery: parent Selector
Definition and Usage
: Parent Selector select all the elements of the parent element that contains other elements and text nodes.
grammar
$(":parent")
: Parent Selector select all the elements of the parent element that contains other elements and text nodes.