how to check clicked on parent div in jquery code example Example: jquery get the parent node $(selector).parent(filter)