I am trying to call some javascript functions which I ahve written in some file. Eg.
function OpenPopup() {
alert("OpenPopUp");
return false;
}
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.
I added this is the MasterPages's Head
<script src="Scripts/something.js" type="text/javascript"></script>
Please let me know what can be the possiblities why it is not called.