Displaying 1 result from an estimated 1 matches for "function_remote_function".
2006 May 31
1
Problem with combining rails helper and javascript
Hi!
I''d like to make ajax request after effect fade finishes. There''s a
callback in Effect class - afterFinish, but it requires the code to be
in function() {*here*}.
When i write :afterFinish => remote_function() it generates following
javascript code:
afterFinish: new Ajax.Updater()
and i need:
afterFinish: function() {new Ajax.Updater()}
How can i do it? I need to