There´s no problem to get them into rails...But how can i send them to
javascript ?
I know javascript is client side so i think it´s impossible to include
ruby variables...
Suggestions ?
Thanks
--
Posted via http://www.ruby-forum.com/.
What I always do is this: have Rails put the data in a hidden HTML
element with a known ID. Then the JavaScript can read the contents of
that element.
>
> Thanks
Best,
--
Marnen Laibow-Koser
http://www.marnen.org
mar...@marnen.org