if found jquery parent class code example Example: jquery get the parent node $(selector).parent(filter)