@konithomimoDec 16.2006 — #Well, there are ways to access script objects and modify them, but the better way is to just create one dynamically:
function createScript(url) { var s = document.createElement("script"); s.type = "text/javascript"; s.src = url; document.getElementsByTagName("head")[0].appendChild(s); }
Just send that function whatever URl you want the script tag to have and it will create the script object with the specified URL.