开发者

Is it possible to get intellisense for jquery in other js files?

I am working on a web page that has a reference to jquery and another js file with custom javascript for that page. Since the custom js f开发者_高级运维ile is external it isn't showing me intellisense for jquery. any way to get it to work?


You can add it, if jQuery was beside the file in question for example, add this at the top of the file you want intellisense in:

/// <reference path="jquery.js" />
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜