Displaying 2 results from an estimated 2 matches for "target_list_upload".
2006 Mar 20
4
Ajax.Request w/standard redirect doesn''t render
...n my page to a controller method like so:
new Ajax.Request(''<%= url_for(:action => "target_list_add" )%>'', { 
asynchronous:true });"
In my controller method "target_list_add", I do something and then I 
say:
redirect_to( :action => ''target_list_upload'', :layout => false )
I know for certain that this line of code is being reached.
Why does the redirect not occur?
Thanks,
Wes
-- 
Posted via http://www.ruby-forum.com/.
2006 Jul 21
10
Using an image button for "link_to_remote"
All,
I want to do an AJAX request using a custom image button.  I currently 
have this as a standard button action using "button_to".
What I need is the button equivalent of "link_to_remote".  Is there a 
helper that I can use, or do I need to build it by hand?
I see button_to_function(), but that sets me up to call a Javascript 
function, not post to a Rails action.
Or can