I\'m writing an AJAX function that requests data from my JSON Python webservice. My AJAX request looks like:
url = \"http://localhost:8001/blah\" $.aja
Zack got it. My javascript was correct. I changed my python return statement to the following:
callback = request.args.get('callback') return '{0}({1})'.format(callback, {'a':1, 'b':2})