jQuery.getJSON and jQuery.parseJSON return [object Object]?

后端 未结 7 1155
没有蜡笔的小新
没有蜡笔的小新 2020-12-08 07:06

EDIT: I\'ve gotten the \"famous question\" badge with this question, so I figured I\'d come back to it and stick what happened to me right at the very tippy

7条回答
  •  春和景丽
    2020-12-08 07:37

    [object Object] is the string representation of a javascript object.

    Try accessing properties of the object.

    alert(data.COLUMNS[0]);
    

提交回复
热议问题