eWEEK Labs Walk-Through: Using jQuery in Microsoft Visual Studio 2008

1
2
3
4
5
6
7
8
1 of 9

eWEEK Labs Walk-Through: Using jQuery in Microsoft Visual Studio 2008

by Jeff Cogswell

2 of 9

Object Name

IntelliSense knows you're inside a JavaScript code block and offers suggestions as you type.

3 of 9

Understanding Document

IntelliSense knows that "document" is an available object name. At this point, you can press the period key.

4 of 9

Available Members

After typing the period, IntelliSense lists available members for the object.

5 of 9

Full Awareness

When you add the IntelliSense-annotated version of jQuery, IntelliSense becomes fully aware of the jQuery objects.

6 of 9

Return Type Detection

IntelliSense can detect the return type of the function and display members for that type based on the annotations.

7 of 9

Sample Web Page

Here's the sample Web page that will be debugged. Clicking the button opens the debugger at the breakpoint.

8 of 9

At the Breakpoint

Visual Studio activates with at the breakpoint. Floating the mouse over the $ function reveals its members.

9 of 9

No Title

Top White Papers and Webcasts