How to identify a javascript file is loaded successfully in Script
<p>I want to add a js file from external server like </p>

<pre><code>  &lt;script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false&amp;libraries=geometry"&gt;&lt;/script&gt;
</code></pre>

<p>How i can Identify the file is succesfully loaded  <strong>programatically</strong>(Not in the console)?</p>
