Dynamic script node in Safari
Posted: Mon Feb 05, 2007 3:21 pm
Hey, everybody!
Here is simple JS code which I am using to create new <script> tag in the document.
Everything is ok with this code when it is executedin IE, FF and even Opera.
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
and thanks for help!
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