Okay, cool, glad it worked! - jake
On 5/25/07, Brad Perkins <[EMAIL PROTECTED]> wrote:
On May 25, 3:02 pm, "Jake McGraw" <[EMAIL PROTECTED]> wrote: > Maybe, within click or change: > > $("[EMAIL PROTECTED]").change(function(){ > $(this).parent().siblings("td:eq(3)"). /* do something */; > > }); > > So you document should look like: > > <tr> > <td><input type="radio" name="mybutton"/></td> > <td></td> > <td></td> > <td><!-- This is your target --></td> > <td></td> > ... > </tr> > > The chain order: > > $(this) --> the radio button > .parent() --> The td element wrapped around radio button > .siblings("td:eq(3)") --> All td element siblings, get the fourth > > Haven't tested, hope it works for you. Thanks! Your example worked great with some minor tweaks. The only thing I noted was the first sibling (2nd column) is at eq index 1. $("input:[EMAIL PROTECTED]").change( function() { col2 = $(this).parent().siblings("td:eq(1)"); alert(col2.html()); } );