Javascript in rails

hello list
I have in rails the object @list, it is string and I want pass this
@list to javascript function, but I don´t know where put the javascript
code and how pass @list

any idea.
thanks

Look at render :update if you want to do it in your controller or
javascript_tag if you want to do it your erb/html file.

On Aug 20, 1:37 pm, Maite P. [email protected]