Mega Code Archive
Categories
/
JavaScript Tutorial
/
JQuery
Shows the parent of each element as (parent child) Check the View Source to see the raw html
< html>
p
div
p
div
p
div