search for: _executeagain

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

Did you mean: executeagain
2006 Apr 27
12
Execute controller function from RJS
Hi all, I wonder if it is somehow possible to execture or redirect to a controller function from RJS? Right now I do: def foo() render :partial => ''executeagain'' end _executeagain.rhtml <script> new Ajax.Updater(''elmntID'', ''/test/foo/'', {evalScripts:true}); </script> This will loop I know :) How can I achieve the same result but without using a partial?? Regards, Henrik -- Posted via http://www.ruby-forum.com/.