jQuery intellisense in Visual Studio 2008

Microsoft is promoting jQuery and so Visual Studio 2010 is having inbuilt intellisense for it. But for earlier version of Visual Studio i.e. VS 2008, it can be done by installing kb file.

Upgrade Visual Studio 2008 to Service Pack 1 and use the KB958502. This hotfix can be downloaded from -

http://archive.msdn.microsoft.com/KB958502

A jQuery function is executed as soon as the DOM is loaded and before the page contents are rendered. The function is written in below style/syntax -

<script type="text/javascript">
        $(document).ready(function() {
                ………statement(s) goes here………
                         });
</ script>