[Proto-Scripty] Re: referencing div when class event triggered.

2010-07-14 Thread Dr. Underhook
My approach would be something like: $$('.className').invoke('observe','mouseover', function(e) { alert('mouseover element with id: ' + e.findElement().id); }); $$('.className').observe() is not correct, because observe() is expecting a single element, whereas invoke() takes the entire array of

[Proto-Scripty] Re: Error with Element.insert({Bottom

2010-02-26 Thread Dr. Underhook
try it without the single quotes around bottom ie: top.opener.document.getElementById('body_wieder_komp_1').insert({bottom:wieder_row}); and to really clean it up: $('body_wieder_komp_1').insert({bottom: wieder_row}); should do it On Feb 26, 2:13 am, ferengi fere...@evo-x.de wrote: hi...