Forum: Ruby on Rails RJS Question

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Scott W. (Guest)
on 2006-02-16 17:10
(Received via mailing list)

What would my method call in an rjs template to produce something like:

new Effect.BlindDown($('commentList').lastChild);
I know if I just wanted to the blind effect I would:

page.visual_effect :blind_down, "row_#{}"

but how would I call it if I want the ".lastChild instead of passing a
particular id?

thanks, scott.

What's an Intel chip doing in a Mac? A whole lor more that it's ever
done in a PC.

My Digital Life -
Pro:Blog -
This topic is locked and can not be replied to.