[Proto-Scripty] Re: observe by class name

2009-08-17 Thread Daniel Rubin
Russell Keith wrote: > I am building a css table using div elements. I am trying to observe > all the DIVs with a class name of oddRow but I keep getting JS errors. > This is my first attempt at observing an entire class. Can someone > please point me in the right direction. I thought the $$ me

[Proto-Scripty] Re: observe by class name

2009-08-17 Thread Russell Keith
I figured it out. I was just looking in the wrong spot. This worked for me. $$('.oddRow').invoke('observe', 'mouseover', function(){ alert('test'); }); From: prototype-scriptaculous@googlegroups.com [mailto:proto