•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 397,752 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,549 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 2623 | Replies: 1
•
•
Join Date: Jul 2005
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
Hi,
I've been beating my head against my inability to force Safari to dynamicall
y load an external Javascript file, and was wondering if anyone has any advi
ce. My current code works fine in Firefox and IE:
var e = document.createElement("script");
e.src = url;
e.type="text/javascript";
document.getElementsByTagName("head")[0].appendChild(e);
I want the script to load and then execute. Any suggestions?
I've been beating my head against my inability to force Safari to dynamicall
y load an external Javascript file, and was wondering if anyone has any advi
ce. My current code works fine in Firefox and IE:
var e = document.createElement("script");
e.src = url;
e.type="text/javascript";
document.getElementsByTagName("head")[0].appendChild(e);
I want the script to load and then execute. Any suggestions?
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb JavaScript / DHTML / AJAX Marketplace
- Determening load average. (Shell Scripting)
- Shell Script for Load monitoring! (Shell Scripting)
- dvd writing script (*nix Software)
- question about connecting odbc to sql through php script (PHP)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: javascript -- tutorials and exercises
- Next Thread: Problem using onload



Threaded Mode