search for: namedactionel

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

2006 Apr 10
10
Prototype Ajax - How to pass my own params to onComplete ?
...as part of the response codes, 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 c...
2006 Apr 10
1
RE: Prototype Ajax - How to pass my own params toonComplete ?
...ms > 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 = theEl...