jquery tree traversing help
- by rod
Hi All,
Given simple DOM:
<form id="form1">...</form>
<div>
<div>
<a href="#" id="export">Export</a>
</div>
</div>
Starting with id=export, is there a way to go up a variable amount of divs and then get the closest form id?
Thanks,
rodchar