using php to check is a javascript file has been loaded?
<p>Can I use a script to check if a JS file is loaded? </p>

<p>I have a function, which places a form on  a page with javascript controls. I don't know where the user will use this form, and it might be loaded several times into a page. It strikes me as the best way to handle things if the form itself loads the script, so it doesn't load if not needed, but this leads me to need to check if the script is already loaded to avoid reloading and adding to page load times and bandwidth use.</p>
