Let's say I have the following HTML:
<table id="foo">
<th class="sortasc">Header</th>
</table>
<table id="bar">
<th class="sortasc">Header</th>
</table>
I know that I can do the following to get all of the th elements that have class="sortasc"
$$('th.sortasc').each()
However that gives me the th elements from both table foo and table bar.
How can I tell it to give me just the th elements from table foo?