Update: I'll have to go back to the drawing board on this one. Thanks for all the feedback.
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