search for: js_var

Displaying 1 result from an estimated 1 matches for "js_var".

Did you mean: as_var
2007 Feb 08
1
RJS throwing 'rubycode' exception
...he array to string: index.rjs ========= names = ["ruby", "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 Rai...