Displaying 1 result from an estimated 1 matches for "result_view".
Did you mean:
result_new
2008 Jul 17
2
Problem with link_to_remote, RJS and jRails
...ation
use a lot of jQuery.
Here are the steps I done:
1. inside StatesController.rb I defined the following action:
def update_view
# do nothing just render the default template, in my case a RJS
template
end
2. here''s the whole update_view.rjs file:
page.insert_html :bottom, ''result_view'', "Hello, World!<br/>"
3. inside show.html.haml (I really don''t like erb):
= link_to_remote ''update view'', :url => { :action => :update_view }
#result_view
4. here is what I get in log/development.log when using Prototype/
Scriptaculous:
P...