Variable Scope In Ajax Calls
one question I always ask myself is how is it possible that javascript has still a reference in a callback function of a AJAX request when the variable was declared in the function
Solution 1:
This is possible using something called closures. There are many resources for this:
Here's a few from a google:
http://www.webreference.com/programming/javascript/rg36/
Post a Comment for "Variable Scope In Ajax Calls"