Re: [Proto-Scripty] Should be simple - using up() with css class

2010-08-18 Thread David J. Hamilton
On Tue, Aug 17, 2010 at 1:47 PM, Rhiq wrote: > I obviously don't get the way up() works.  Using the generated HTML > below: > > [snip] > [snip] > [snip] > > If I try the following: > alert($('part-47').up('tr.sd_type').id) I get an error saying that it > is undefined. Yes. the two table row

[Proto-Scripty] Should be simple - using up() with css class

2010-08-17 Thread Rhiq
I obviously don't get the way up() works. Using the generated HTML below: Type: Test Type Rename | Add Part | In Use (3) Part: dfgdfg (0) Rename | Remove Part: sdfgs (0) Rename | Remove Part: fdsgre (0)