Hello.
I'm trying to display the results of an Ajax query:
... success: function(data) { alert(data); } ... Everything is normal output {"error": "You forgot to specify the link."}
I try to display a separate value:
alert(data.error); Displays: undefined
I tried this:
var arr = new Array(); arr = data; alert(arr.error); The result is the same.
Actually, please explain what the problem is.