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

Reply via email to