How is the callback function of jsonp executed?

it is not clear to spell the name of the callback function on url. After ajax is successful, why does this callback function execute automatically? Ask for advice

Mar.29,2021

the server will return the callback (json) based on the callback. After ajax gets it, inserting the html using the script tag will execute the function call. The parameter is the data given by the server


Please enter the code ~

.
Menu