Displaying 2 results from an estimated 2 matches for "namedactionhandler".
2006 Apr 10
1
RE: Prototype Ajax - How to pass my own params toonComplete ?
...s there no way to keep my current context when the ajax onComplete
> function is triggered?
>
> Here''s my trimmed down code sample:
> -----------------------------------
> //global reference to the element invoking the action
> var NamedActionElement;
>
> function NamedActionHandler(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 f...
2006 Apr 10
10
Prototype Ajax - How to pass my own params to onComplete ?
...but that seems
kinda weak as well.
Is there no way to keep my current context when the ajax onComplete
function is triggered?
Here''s my trimmed down code sample:
-----------------------------------
//global reference to the element invoking the action
var NamedActionElement;
function NamedActionHandler(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 aja...