[jQuery] Can't get my head around this chain
Hi all. Here is a section of a page I generate:
<tr>
<td><a name="5029">5029</a></td>
<td>1100</td>
<td>2</td>
<td><a href="index.cfm?
action=showsubtree&categoryid=5029">Products</a></td>
<td><a href="index.cfm?action=deletenode&categoryid=5029">Delete</
a></td>
<td><a href="index.cfm?action=newnode&categoryid=5029">New</a></
td>
<td><a href="index.cfm?
action=editnode&categoryid=5029&categoryName=Products&categoryURL=&categoryType=1&parentCategoryId=1100">Edit</
a> </td>
<td><a href="index.cfm?action=moveup&categoryid=5029">Move Up</
a></td>
<td><a href="index.cfm?action=movedown&categoryid=5029">Move
Down</a></td>
<td><select class="mover" id="5029">
<option class="selectTitle">Move to...</option>
</select>
</td>
</tr>
When I click on the "Edit" link in the 7th TD (or 6th for you zero-
based folks :) I want to call a function and have 5029 available to
use as a parameter to it. I really don't care which element or
attribute I use to get the value (as it obviously appears in several
places), whichever is easiest. I'm thinking the 1st TD, either the "a"
name attribute or text.
I just can't seem to put together a chain of selectors together that
gets me what I want.
Can someone help?
TIA,
Laker