jquery get main parent of element code example Example: jquery get the parent node $(selector).parent(filter)