Help with getting a value with jQuery
Hey everybody. This mailing list/forum has helped me a lot in the past by just perusing, but now I need to post to get some help. I have a site I'm maintaining at work, and because of the complexity and class inheritance, I can't change the design.
I have a table row in the following form:
-
<TR id='0' >
<FORM method='GET'>
// hidden form fields and values snipped out for security purposes.
<TD id='branch_tag' class='"topborder rightborder"' > KY </TD>
<TD id='part_no' class='"topborder rightborder"' > 814316 </TD>
<TD id='description' class='"topborder rightborder"' > STOOL JO JO -FN-3 C/S </TD>
<TD id='qty_sku' class='"topborder rightborder"' > 0 </TD>
<TD id='qty_alloc' class='"topborder rightborder"' > 0 </TD>
<TD id='qty_onhold' class='"topborder rightborder"' > 0 </TD>
<INPUT name='part_no1' type='hidden' value='814316' class='topborder rightborder' ></INPUT>
<TD id='' class='"topborder rightborder"' >
<INPUT name='subop' type='submit' value='Hold' ></INPUT>
</TD>
<TD id='' class='"topborder rightborder"' >
<INPUT name='holdall' type='button' value='Hold All' onClick='' ></INPUT>
</TD>
</FORM>
</TR>
When I click the "hold all" button, I need to get the part_no of that TR, to pass to a function. Problem is, I can't for the life of me figure out how.
Any help is GREATLY appreciated!
Thanks,
-Mike