Div and loop help

Hello,
I want to display a effect.slidedown in a table.
I have a table called contactnotes.

...

<% message = contact.message %>

<%end%>

<%= link_to(@person.first_name, "#", html_options={:onclick => "Effect.SlideDown('show_details_of_contact_note'); return false;"})%>

When i click for the slidedown link The contents of the div i.e.
contact.message does not change as per the loop,.
Can anyone please help me.

On Jun 4, 7:02 pm, Ank Ag [email protected] wrote:

Hello,
I want to display a effect.slidedown in a table.
I have a table called contactnotes.

should be “new Effect.SlideDown …”

<%end%>
It might not like the fact that you are not closing the

above,
and i believe it is also a requirement that a should only contain

<%= link_to(@person.first_name, "#", html_options={:onclick => "Effect.SlideDown('show_details_of_contact_note'); return false;"})%>
elements.

Fred

tml_options={:onclick =>

“Effect.SlideDown(‘show_details_of_contact_note’); return
false;”})%>

should be “new Effect.SlideDown …”

<%end%>
It might not like the fact that you are not closing the

above,
and i believe it is also a requirement that a should only contain elements.

Fred
hi,
Sorry that was a typing error… I have closed the

tag…