开发者

access js file from another website

In IIS, i have a website under which there are various virtual directories. I want to access/link JS file from one virtual directory into another. So, basically i have an application (in virtual dir 1) from which i want to link JS files being used in another application (virtual dir 2). Both these applications are under the same website in IIS.

Also, i am looking at a way of 开发者_高级运维creating a common folder under website from where all applications can link commonly used JS files. Any ideas on how this can be done?


You can add reference like...

<script src="http://www.website.com/foldername/GeneralMethods.js" type="text/javascript"></script>

Get an idea from this thread How to add jQuery in JS file

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜