search for: ajaxcall

Displaying 3 results from an estimated 3 matches for "ajaxcall".

Did you mean: ajaxcalls
2007 Jun 04
2
Re: Ajax.Request question with JSON return
...-> > function PopulateViaSID(SID) { > var passSID = encodeURIComponent(parseInt(SID)); > > var pars = ''FORM.passSID ='' + passSID ; > > new Ajax.Request() > var url = > ''/SShow/Model/AjaxCalls/sshow_caller_populateRef.cfm''; > new Ajax.Request(url, { > method: ''get'', > onSuccess: function(transport, json) { > alert(json ? Object.inspect(json) : "no JSON object"); >...
2006 Apr 10
10
Prototype Ajax - How to pass my own params to onComplete ?
...ler(theElement) { //set our 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 el...
2006 Apr 10
1
RE: Prototype Ajax - How to pass my own params toonComplete ?
...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; > &gt...