Using the Dialog and Spinner Widgets

In this chapter, I describe the jQuery UI dialog and spinner widgets. Table 22-1 provides the summary for this chapter.

Table 22-1. Chapter Summary

Problem Solution Listing
Create a jQuery UI dialog Select a div element with a title attribute and call the dialog method 1
Prevent a dialog from being displayed as soon as it is created Set the autoOpen setting to false 2
Prevent the user from resizing a dialog Set the resizable setting to false 3
Focus on an element in the dialog Set the autofocus attribute 4
Change the initial position of a dialog Use the position setting ...

Get Pro jQuery 2.0, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.