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>
精彩评论