Home >Web Front-end >JS Tutorial >jQuery plug-in jQuery-JSONP development ajax call usage precautions_jquery
JSONP call sample code:
The first thing to pay attention to is the callbackParameter. If there is no special callback function, be sure to write "callback";
The second thing to pay attention to is in the success callback function, directly through The variable name originImgSrc is undefined and needs to be obtained through xOptions.data.imgSrc.