Note: The 14.1 Listing is at the bottom of this page.

Note: Move mouse over button and hold for a few second. If tooltip does not appear, click button. Then move mouse off button and back on again. Hold over button for a few second. You should see the tooltip.

Listing 14.2: Script: Setting Options as Parameters

Listing 14.3: Button: Options Set with Data Attributes

Listing 14.4: Turn Off Data Attributes

Listing 14.5: Adding a Tooltip Programmatically

Listing 14.6: Change Tooltips to Default to HTML True

Listing 14.7: Preventing an Event with preventDefault

Listing 14.8: Using .noConflict on a Button

Listing 14.1: Script Tags to Include jQuery