I have a asp.net webforms 3.5 solution with multiple projects. In one of the (web) projects I have a script folder containing javascript files. In my aspxpage in project A I would like to call a js function residing in a js file called MyScript.js which sits in project B?
Include the JS file from project B like so:
<script src="http://myUrl.com/js/MyScript.js"></script>
Then just call the method you want.
2.1m questions
2.1m answers
60 comments
57.0k users