I want to use the jquery.jsonp.js plug-in on the front end without any processing in the background.
This format is $.jsonp({ ... }). I have read all the examples on the Internet, but the error SyntaxError: Unexpected token:
Does anyone know what is going on? Has anyone used it? Thanks.
请求地址最终返回的不是jsonp的数据格式,jsonp数据格式应为:
jsonpCallback({msg:'this is json data'})
,建议浏览器查看下网络请求的最终response
数据