Which jQuery method is used to get the direct parent element of the selected element?
Options:
Explanation:
jQuery method <span class="w3-codespan">parent()</span> is used to get the direct parent element of the selected element.
Tags:
jQuery
Answer:
Which jQuery method is used to get the direct parent element of the selected element parent().