search for: urlcal

Displaying 2 results from an estimated 2 matches for "urlcal".

Did you mean: urlcall
2006 Apr 10
10
Prototype Ajax - How to pass my own params to onComplete ?
...global reference to the element so we can access it in later functions //since ajax calls take us to other functions and we can''t seem to pass it along NamedActionElement = theElement; //skip setting up my vars for the ajax call //make the ajax call var ajaxCall = new Ajax.Request( urlCall, {method: ''post'', postBody: postFormData, onComplete: NamedActionResponseHandler} ); } function NamedActionResponseHandler(theResponse) { var elementThatTriggeredEvent = NamedActionElement; //do stuff based on values i have encoded into the element and //the data return...
2006 Apr 10
1
RE: Prototype Ajax - How to pass my own params toonComplete ?
...n > later > functions > //since ajax calls take us to other functions and we can''t seem to > pass > it along > NamedActionElement = theElement; > > //skip setting up my vars for the ajax call > > //make the ajax call > var ajaxCall = new Ajax.Request( urlCall, > {method: ''post'', > postBody: postFormData, > onComplete: NamedActionResponseHandler} > ); > } > > function NamedActionResponseHandler(theResponse) > { > var elementThatTriggeredEvent = NamedActionElement; > > //do stuff based on value...