Getting error: “Uncaught TypeError: Cannot read property 'length' of undefined”

后端 未结 1 926
忘掉有多难
忘掉有多难 2021-01-29 14:48

i am successfully able to get response from wsdl using my client side code by checking chrome dev tool feed retrieve success and various fields like objid, pe

相关标签:
1条回答
  • 2021-01-29 15:01

    There is no "responseJSON" in the object that you have receive, and this is why the error is failing on "length" is undefined: for (var i = 0; i < result.responseJSON.length; i++). Remove responseJSON and use something like: How to get object length or a different approach.

    0 讨论(0)
提交回复
热议问题