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
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.