how can I call javascript function from another project in same solution?

后端 未结 1 968
执笔经年
执笔经年 2020-12-21 19:39

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

相关标签:
1条回答
  • 2020-12-21 20:09

    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.

    0 讨论(0)
提交回复
热议问题