how to tell what parent class called jquery code example Example: jquery get the parent node $(selector).parent(filter)