VS2008 jQuery Intellisense无法正常工作-(jquery-1.4.1.js) [英] VS2008 jQuery Intellisense not working - (jquery-1.4.1.js)
问题描述
我在Google上进行了搜索,然后关注了斯科特古斯里(Scottguthrie)的文章&同样在这里寻求解决方案,但无济于事.我的环境由VS2008 SP1组成,包括针对JQuery智能感知的修补程序.
I have searched on google, followed scottguthrie's article & also here on SO for a solution but to no avail. My environment consists of VS2008 SP1, including hotfix for JQuery intellisense.
我已经下载了'jquery-1.4.1.js'&也是来自jquery网站的"jquery-1.4.1-vsdoc.js". 像这样在"HTM"文件中引用了它:
I have downloaded 'jquery-1.4.1.js' & also 'jquery-1.4.1-vsdoc.js' from the jquery website. Referenced it in an 'HTM' file like this:
<script src="Js/jquery-1.4.1.js" type="text/javascript"></script>
并且当我编写如下代码时,没有智能感知.
and when i write code like below, there is no intellisense.
<script type="text/javascript">
$
</script>
有什么想法吗? TIA
Any ideas? TIA
推荐答案
有效!原来这是VS2008 SP1的问题,我不知道为什么,但是重新安装后,intellisense仍然可以工作.
Works! It turns out to be an issue with VS2008 SP1, i have no idea why but after re-installing it, intellisense works.
这篇关于VS2008 jQuery Intellisense无法正常工作-(jquery-1.4.1.js)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!