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
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]
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs