Export (0) Print
Expand All

Author jQuery by using IntelliSense

Expression Studio 4.0

You can use IntelliSense to streamline the process of typing jQuery statements in Code view. For more information, see Set IntelliSense options for jQuery.

To choose a jQuery selector using IntelliSense

  1. In Code view, in a web page or in an external .js file, put your cursor where you want to author jQuery.

    NoteNote

    Microsoft Expression Web includes a list of jQuery actions. You can specify which functions to include by setting the IntelliSense options. For more information, see Set IntelliSense options for jQuery.

  2. To display an IntelliSense shortcut menu for jQuery selectors, type $( or jquery(.

  3. To insert a jQuery action into your code, do one of the following:

    • On the Code View toolbar, click List Members Hh314567.50536b26-b422-4902-931a-59955db53265(en-us,Expression.40).png.

    • On the Edit menu, point to IntelliSense, and click List Members Hh314567.50536b26-b422-4902-931a-59955db53265(en-us,Expression.40).png.

    • To move directly to a particular part of the shortcut menu, type the first letter of the item that you want to go to in the list.

      tip noteTip

      If an IntelliSense shortcut menu doesn't appear, your cursor may not be in a valid location in the code for inserting an element, class, ID, property, or value, and the code that precedes the cursor may not be valid.

      NoteNote

      In order for the IntelliSense shortcut menus to appear, the various statement completion options that appear in the IntelliSense tab of the Page Editor Options dialog box must be selected (default)

  4. In the IntelliSense shortcut menu, to locate the item you want to insert into your code, do any of the following:

    • To move through the shortcut menu one item at a time, press the DOWN ARROW key or the UP ARROW key.

    • To move through the shortcut menu one block of visible items at a time, press PAGE DOWN or PAGE UP.

    • To move directly to a particular part of the shortcut menu, type the first letter of the item you want to go to in the list.

    • To scroll through the list, click the arrows on the vertical scrollbar.

      tip noteTip

      To close the list without inserting any of the shortcut menu items, press ESC or click outside of the shortcut menu.

  5. To insert a selected item from the shortcut menu into your code, do one of the following:

    • Press either TAB or ENTER.

    • Double-click the item.

To insert a jQuery action by using IntelliSense

  1. In Code view, put your cursor after the selector name in jQuery statement, and then press the . key. A list of valid jQuery actions is displayed.

  2. In the IntelliSense shortcut menu, do one of the following:

    • To move through the shortcut menu one item at a time, press the DOWN ARROW key or the UP ARROW key.

    • To move through the shortcut menu one block of visible items at a time, press PAGE DOWN or PAGE UP.

    • To move directly to a particular part of the shortcut menu, type the first letter of the item that you want to go to in the list.

    • To scroll through the list, click the arrows on the vertical scrollbar.

      tip noteTip

      To close the list without inserting any of the shortcut menu items, press ESC or click outside the shortcut menu.

  3. To insert a selected item from the shortcut menu into your code, do one of the following:

    • Press either TAB or ENTER.

    • Double-click the item.

See also

Send feedback about this topic to Microsoft. © 2011 Microsoft Corporation. All rights reserved.

Community Additions

ADD
Show:
© 2014 Microsoft