Calling JavaScript Functions
<p>I am trying to call some javascript functions which I ahve written in some file. Eg.</p>

<pre><code>function OpenPopup() {

    alert("OpenPopUp");
        return false;

}
</code></pre>

<p>when I call this from button from OnClientClick = "OpenPopup()" it is not called but when I put this function on MasterPage it is able to call the function.</p>

<p>I added this is the MasterPages's Head</p>

<pre><code> &lt;script src="Scripts/something.js" type="text/javascript"&gt;&lt;/script&gt; 
</code></pre>

<p>Please let me know what can be the possiblities why it is not called.</p>
