Home  >  Q&A  >  body text

javascript - jquery ajax uses jsonp for cross-domain access, why does it report an error?

[1]http://120.76.117.29:12345/ap...
This is the access path copied in the network
Is this an error?
What's wrong?
Is there a problem with the data returned by the background? This is my js code

大家讲道理大家讲道理2630 days ago769

reply all(3)I'll reply

  • 巴扎黑

    巴扎黑2017-07-05 10:42:15

    Why doesn’t your fourth parameter have a name?

    reply
    0
  • 黄舟

    黄舟2017-07-05 10:42:15

    The return data is not enclosed in parentheses, or the callback function name is not added in ajax

    reply
    0
  • 为情所困

    为情所困2017-07-05 10:42:15

    The parameter should be jsonp not jsonpCallback

    reply
    0
  • Cancelreply