D3.json Works But $.getjson Fails
Using d3.json to make a json request works while $.getJson and $.ajax fail. It is not a cross-domain problem as I am requesting a script on the same domain. d3.json('api.php?q=/use
Solution 1:
I figured out the problem, I was using mockjax, a javascript library to intercept ajax calls and it was causing the problems. Solved it by completely removing the library.
This might not be a problem with the latest releases - but it was at the time
Post a Comment for "D3.json Works But $.getjson Fails"