I have code similar to the following:
<div class="class1">
<a class="link1" src="...">...</a>
</div>
<div class="class2">
<a class="link2" src="...">...</a>
</div>
Assuming I am currently in the click event for class link2, how do do I get the src value of the link1 hyperlink? These are dynamically generated so there may be many instances of this code so I would need to traverse the dom from $this to get to link1. Thanks.