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.
The final data format returned by the request address is not jsonp data format. The jsonp data format should be:
of the network request.jsonpCallback({msg:'this is json data'})
. It is recommended that the browser check the finalresponse
data