That's because the callback that you get from the success function is named response in your code. Try using console. log on response instead. Jonas