But your answer is much longer than $(this).parents("tr").next("tr").find("div")
I'm not saying I want to bind the click or get the value of the DIV. I just want to find it with a single selector. Actually I plan to slideDown() the Div using Toggle on the A. Glen On 5/22/07, Sean Catchpole <[EMAIL PROTECTED]> wrote:
I believe that might be the shortest way to get the element, however if speed is your concern, then I suggest storing the divs before hand. Give this code a try: var div = $("tr td div"); $("tr td a").each(function(i){ $(this).click(function(){ alert(div[i].innerHTML); return false; }); }); ~Sean