October 2013
Intermediate to advanced
1044 pages
24h 36m
English
CHAPTER 29
![]()
The Dialog & Popup Widgets
In this chapter, I introduce the first two jQuery Mobile widgets: the dialog and popup. jQuery Mobile widgets behave slightly differently from those in jQuery UI, but – as you’ll learn – there is a common approach that underpins both libraries. Table 29-1 provides the summary for this chapter.
Table 29-1. Chapter Summary
| Problem | Solution | Listing |
|---|---|---|
| Create a dialog widget. | Add the data-role attribute with a value of dialog to a div element that contains the dialog content or the data-rel attribute, also with a value of dialog, to a navigation link that will open the dialog. | 1, 2 |
| Create a dialog ... |