Visual Studio 2008 provides Javascript Intellisense, so by the way does 2003 or 2005 .Read here and see how to reveal Internet Explorers DOM and thus script against all objects in the page you are working on in 2003 or 2005. Just add the script (click the PDA icon to access the script) to your page.
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.That's lovely jubbly aqs we say in south east london but the most important point is you have to get them to work in the browser as script first, then you can move them into server side emiiters. Enjoy your Scripting!