O'Reilly logo

Pro jQuery 2.0, Second Edition by Adam Freeman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 22

image

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required