Working on a RESTful api, When I access this in my browser at 126.96.36.199/getLeaderBoard
it works fine and gives me the JSON data from my mongo database.
Though when I try a jquery ajax request like this http://jsfiddle.net/yVQ5T/ I get a jsonp error
Error: jQuery171037622810900211334_1363808084624 was not called
Here is the code on the server side
Your url serves regular JSON not JSONP, you have to place it in a call to the callback function, e.g.
Since the callback name is dynamically generated you'll have to read them from the request.
This recipe can be found in it's original form on Stack Over Flow.