http://pastie.org/273679
Don't hesitate to rip my code apart if you so decide. I'm sure there is room for much improvement throughout, but hey, I'm new to Javascript and can use this to learn. Thanks. Just switched to $(this).up('tr') and it broke...but I'll look at the documentation and figure out what I did wrong. Thanks. On Sep 16, 5:53 pm, "Justin Perkins" <[EMAIL PROTECTED]> wrote: > If all your HTML and JavaScript is in one file, you can put it in > pastie and then provide a link. See here:http://pastie.org/ > > Since you're using Prototype, you should take advantage of it's helper > methods to traverse the DOM, such as Element#up and Element#down > instead of messing with parentNode ... especially since the element > returned from parentNode won't be a Prototype-extended element when in > IE. > > Element#up:http://prototypejs.org/api/element/up > > -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 prototype-scriptaculous@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---