C H A P T E R  22

Using the Dialog Widget

The jQuery UI dialog widget creates a floating window with a title and content area, similar to the kind of dialog you might see from a native application. Dialogs are useful for focusing the user’s attention on an important event or message. However, as with any element that can obscure the document content, the dialog must be used sparingly and only when displaying the content inside the document layout isn’t feasible. Table 22-1 provides the summary for this chapter.

Image

Image

Creating the Dialog

You create ...

Get Pro jQuery now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.