I followed ScottGu's advice on enabling javascript intellisense using a -vsdoc.js file.
http://weblogs.asp.net/scottgu/archive/2008/11/21/jquery-intellisense-in-vs-2008.aspx
I now get intellisense when I write javascript inside my HTML/ASPX files. I write most of my javascript in separate javascript files that I attach to my code with script tags like this:
<script type="text/javascript" src="./js/myhappyjavascript.js"></script>
In files like this I don't get the intellisense and this is where I need it most. Does anyone know how I can get intellisense on jquery to work there too?