Quote:
Originally Posted by photon
Yeah, that's the part where I start to get out of my depth
I'll have to poke around and try and see where I can shoehorn it in.
|
Typically, the ajax call will have two callback functions - one that gets called on success, and one on failure. Hopefully it's easy to find each, and easy to modify the code for the success callback.
The one thing that can trip people up in javascript is understanding context - the "this" object will point to different contexts depending on when/where it is used. So variables/functions you expect to be available in one place may not be available elsewhere because the context has changed. But context is a first class citizen, and can be passed around too, which is cool, but can also be confusing.
Anyways, good luck!