Here is simple JS code which I am using to create new <script> tag in the document.
Code: Select all
scriptNode = document.createElement("script");
scriptElement = this.container.appendChild(scriptNode);
scriptElement.src = src;But it's not ok in Safari!!!
Can I make AJAX request to external host? or what can I do to make this code working in Safari?
Sorry for specific English