Here are few steps which you need to follow.
- Make sure you already have SP1 for VS 2008. Otherwise you need to install it.
- Install patch KB958502 - JScript Editor support for “-vsdoc.js” IntelliSense files.
- Download the visual studio documentation from jQuery website.
For more detail on jQuery subject, please visit Setting up Visual Studio Intellisense for jQuery.