+8  A: 

Have you installed the jQuery-vsdoc.js file as well (in the same location as jquery-1.2.6.js)? This file contains the comments for intellisense. It's documented in step 3 of ScottGu's blog post.

Update:

And you also installed the Visual Studio patch?

For me it works (as shown in ScottGu's blog), although I'm using a website project, not MVC. I added the script reference in the master page:

<script src="jquery-1.3.1.js" type="text/javascript"></script>

I get intellisense in both the master page and in content pages (tried it with the code you put in your question).

M4N
Yeah, that file is there. It seems to be included by default in a new MVC project. I figured I wouldn't see any intellisense at all if that file wasn't in the correct place.
Chris Farmer
Tried it, and (after installing the VS patch) it works as expected (see updated answer).
M4N
It seems like that might have done it. I guess I incorrectly assumed that VS2008 SP1 was all I needed. Thanks!
Chris Farmer
A: 

I'm getting similar results, but even more disappointing is that, when I'm referencing the script file in a master page, I don't get any jQuery intellisense at all in child pages. Admittedly this may be something I'm doing wrong, but for the time being I've had to include an <% if(false) { %> statement followed by a reference to the script file in any page/user control that I need intellisense on.

Eager to find out what I might be doing wrong.

mannish
Have you tried this? http://stackoverflow.com/questions/555269/adding-additional-js-files-breaks-jquery-intellisense
Mark
...or this <% if (false) {%> <script src="~/js/jquery-1.3.1-vsdoc.js" type="text/javascript"></script><% }%>
Mark
This is a limitation of VS, and applies to more than just jQuery. The <% if (false) %> method is the best way around it.
Adam Lassek