Displaying 1 result from an estimated 1 matches for "ruby_var".
Did you mean:
ruby_eval
2007 Feb 08
1
RJS throwing 'rubycode' exception
...;ajax"]
page << "alert(#{names.to_s})"
still not working.
Also, it is possible to assign a JS variable''s value to a ruby variable?
Like this pseudo code:
index.rjs
=========
page << "js_var = document.getElementById(''my_var'').value"
ruby_var = js_var
Thanks a lot.
-- Mark
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk...