please help with div and sciptacolous

koloa wrote:

<%= link_to_remote( "get description",                  :update => 'desc_div'+replay.id.to_s,                  :loaded => "new Effect.toggle(desc_div" + replay.id.to_s + ")",

When programming the stack of languages we call The Web, you need to keep track of which language you are in at all times, at the level of all symbols. When you type a Ruby string like "new Effect.toggle(desc_div)", it passes to JavaScript as:

  new Effect.toggle(desc_div)

JavaScript needs to see this:

  new Effect.toggle('desc_div')

Add more ' ' to your expression.