Hello everyone!
Instead of utilizing jQuery, I have been creating a script
tag and appending it to the head
tag in order to retrieve JSONP data. However, after the JSONP callback function is executed, I have noticed that the script
tag that I added to the head
tag is automatically removed by the browser (specifically Chrome). Can anyone explain why this happens? I haven't written any code to explicitly delete this script
tag.
Thank you for your help!