Visual Studio 2008 provides Javascript Intellisense, but so does 2003 and 2005 if you add the following script to a page at design time. By adding this script reference to a page Internet Explorers DOM is exposed both at design and runtime. As a developer you can script against all objects in the page you are working on. Click the Code icon above to see the script and how to add it to your pages in VS2003 and VS2005.
Once added intellisense will be enabled for all HTML elements within a page, this also means you will also be able to debug your scripts and watch varibale values by dragging and dropping them into the debuggers watch windows.
If you are building "modern" Web Sites then make sure your target Schema (in the page properties) is Internet Explorer 5 and above.
Place the getDOM function, or a reference to a script that contains the function in any html or an .aspx page. Code for a demo page is also in the PDA. Once you add the function or a reference to a file that contains the function intellisense will work.

This means when you create a JavaScript function that uses e.g. a Div (id=Div1)then intellisense will show all the properties methods and events for the Div.
Place a break-point within the function and as above and press F5 to run . Here Internet Explorer is on top of the debug window that opens up in Visual Studio. NET IDE when you mouse-over the red coloured Div shown on the demo Web page
The Div1 element which is now recognized as an object itself and intellisense shows you that particular objects model as a list; that’s a collection of well over 150 by the way just for a Div, phew!
There are a number of new ways to include JavaScript in your .aspx pages and controls, VB.Net, C#, C++.Net all can use the "emit" methods like
RegisterClientScriptBlock etc.The most important point is you have to get your scripts to work in the browser first, then you can move them into server side emiiters. Enjoy your Scripting!