I have many js files (say divided into set1 and set2), which are reused in multiple HTML and aspx pages. Using VS 2010.
I tried in head of the page1.html
< script type="text/javascript" src="/Scripts/set1.js">
< /script>
set1.js has:
/// < reference path="test11.js" />
/// < reference path="test12.js" />
All js files are in the Scripts folder of the VS solution.
Will the page1.html load both test11.js and test12.js . It seems to be not happening and i get function (javascript function which i use on button events etc) undefined error while page loads.
What is the correct way to do it ? and what is the reference tag for ?