hi all! i don''t know that javascript into the ruby variable

in-seok hwang
Fri, 22 May 2009 14:02:31 -0000

hi all!

sorry! i''m not speak english well.
but, i want to learning.

this is my code.

553         text <<-JAVASCRIPT
> 554
> .....clipping.....
> 571             function grow_window(name)
> 572             {
> 573                 $(''name'').innerHTML = "?? :
#{@people[name
> ].fetch(''name'')}"
> 574                 Effect.Grow(''profile_grow'');
> 575             }
> 576
> 577         JAVASCRIPT
>

I would like to put in javascript''s variable(name) to red point.

but , i can''t remember Programming syntax.

plz give me hint.

thank you for reading my artcle.

have a nice day.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://rubyforge.org/pipermail/camping-list/attachments/20090522/0b41b774/attachment.html>