search for: ajaxcalls

Displaying 3 results from an estimated 3 matches for "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 ?
Sorry if this has been covered before, i can''t imagine it hasn''t, but i''ve been unable to find any information on it. Can i pass my own parameters to the onComplete function specified by Ajax.Request ? My basic setup is i have an html element triggering an event (the ajax update). I have additional information encoded into the element about how it should handle
2006 Apr 10
1
RE: Prototype Ajax - How to pass my own params toonComplete ?
You need a closure. onComplete: function (response) { NamedActionResponseHandler(theElement, response); } Is that what you mean? Greg > -----Original Message----- > From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org [mailto:rails-spinoffs- > bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Erin Brewer > Sent: Monday, April 10, 2006