how to access javascript variable in rails view

Posted by Prashant on Stack Overflow See other posts from Stack Overflow or by Prashant
Published on 2010-05-31T11:37:10Z Indexed on 2010/05/31 11:43 UTC
Read the original article Hit count: 201

Filed under:

Is there any way to access javasript variable inside the rails view. I just set some value of javascript variable and want to access it in rails view.

Thanks

© Stack Overflow or respective owner

Related posts about ruby-on-rails