I have been using jQuery for a while. I wanted to use the parent() selector. I also came up with the closest() selector. Could not find any difference between them. Is there any? If yes, what?

What is the difference between parent(), parents() and closest()?

6 Answers
6

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *