Hi,
I am making a few usercontrols that have javascript functionality. The javascript is contained within an external .js and I current link to it in my .ascx file.
<script language="javascript" type="text/jscript" src="../Javascript/CollapseDIV.js"></script>
I have two problems here: 1- This only works if the parent web form is in the implied location - down one folder level 2 - If I use the usercontrol more than once on the same page the javascript file is linked in x times. Can anyone advise the correct way to use javascript functionality in a usercontrol where the javascript is contained in an external file? I assume the asp.net server controls do not copy in their javascript x times so I don't want mine to either. Thanks Andy
...
Go to the complete details ...