On user click I would like to get a list of all elements that resides at the clicked point.
For example, if user clicks on Hello here:
<div><span>Hello<span></div>
I would like to get the following list:
<span>element<div>element<body>element<html>element
What would be the easiest method to get these elements ?