I have strange behaviour on ajax callback functions, lately I had a similar problem about which I posted which mysterioulsy went away, it just started working.
Now I am trying to get something done and have the same issue again.
I have this php function getdeck.php which returns an array:
Now if I do:
I get the alert, but if I try the json datatype:
I don't get an alert and the rest of the script doesn't execute anymore.
I tried some variations:
I get no alert() but the rest of the script executes.
Same as the above one.
I'm somewhat baffled at the moment, I had the problem before on another project and then 'it just went away' (tm).
Somebody any idea what's going on here?