开发者

Using Jquery 1.4.2 in an ASP.NET app - Error updating JScript IntelliSense

I am trying to just add a reference to jquery in my ASP.NET project, and get th开发者_JAVA百科is when I do: "Error updating JScript IntelliSense ... Object doesn't support this property or method."

I read that I may have to reference vsdoc, but can someone help me with this?


You can add reference to vs-doc after you have added jquery.js, this way it works properly with intellisense and also description of jquery elements(using vs-doc). First reference should be of your core jquery.js file then the rest.

<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="jquery-1.4.4-vsdoc.js"></script> 
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜