On Tue, Sep 16, 2008 at 4:17 PM, ericindc <[EMAIL PROTECTED]> wrote:
> When I click the delete text, I want the whole row gone, but it
> currently just deletes the cell.  How do I get to the row level?

function removeRow(referenceElement){
  referenceElement = $(referenceElement);
  var table = referenceElement.up('table');
  alert(table.select('tr').size());
  referenceElement.up('tr').remove();
  alert(table.select('tr').size());
}

-justin

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to