Displaying 1 result from an estimated 1 matches for "params_to_pass".
2007 Mar 02
12
Prototype: Ajax.Request w/asynchronous: false
All,
I have the following Ajax call:
new Ajax.Request(action, {asynchronous: false,
method: ''post'',
parameters: params_to_pass,
evalScripts: true});
The action that I''m calling is using render :update to send back
Javascript. When asynchronous is set to true above, then the Javascript
is executed (because of evalScripts: true). However, when asynchronous
is false as above, the evalScri...