TypeError: invalid 'in' operand obj in jquery 1.9.1 version

后端 未结 7 2878
走了就别回头了
走了就别回头了 2021-02-20 16:25
$.ajax({
    async: false,
    type: \"POST\",
    url: url+\"module/listing/\"+projectId,
    data: \"ajax=true\",
    success: function(response) {
        $.each(resp         


        
7条回答
  •  甜味超标
    2021-02-20 16:58

    Same error, in my case instead of defining local as an array, I was defining it as a string. JSON.parse it did the trick.

提交回复
热议问题