I doing a simple Ajax call to pull some Json data from a running web server. Here is the code...
Notice I'm storing the url in the DBG variable. In the debug console, I can grab the url in DBG, paste it into Chrome and the exact Json data expected is displayed.
However...
In the code the C2 Ajax error callback is always called, never the success. RETURN_VAL_4 has the "Login error: " prefix and then blank. Nothing in Ajax.LastData. This makes no sense when it works perfectly fine in Chrome.
What is happening?
Thank you for helping me past this. I'm stuck :-/