Can I use a script to check if a JS file is loaded?
I have a function, which places a form on a page with javascript controls. I don\'t know where the user will use th
No. The page isn't seen until the PHP script has flushed all its output, by which time it's too late to do anything. But most browsers are smart enough to only load an external resource once per page anyway.