The Closest One To My Location - The closest() method returns the first ancestor of the selected element. The Closest One To My Location - If it seems to be helpful.