Forum: Ruby on Rails How to highlight or get the child div id?

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.
Innovia (Guest)
on 2008-10-12 02:40
(Received via mailing list)

I am trying to highlight the child div of attendees_box which is the

so far this is my code

page.replace_html "attendees_box_#{}", :partial =>
"attendees", :collection => @event.members
page.visual_effect(:highlight, "attendees_box_#{}

I can highlight the parent div with no problem, but when i try to
highlight attendee_id div i get an error

RJS error:

[object Object]

what is the correct syntax to get to the child element?
Frederick C. (Guest)
on 2008-10-12 03:27
(Received via mailing list)
On Oct 11, 9:13 pm, Innovia <removed_email_address@domain.invalid> wrote:
> page.visual_effect(:highlight, "removed_email_address@domain.invalid}
> [removed_email_address@domain.invalid}]")
> </pre>
So what are the dom ids of the elements you are trying to highlight
and what is the javascript that is generated?

This topic is locked and can not be replied to.