Skip to Main Content
Pro jQuery 2.0, Second Edition
book

Pro jQuery 2.0, Second Edition

by Adam Freeman
October 2013
Intermediate to advanced content levelIntermediate to advanced
1044 pages
24h 36m
English
Apress
Content preview from Pro jQuery 2.0, Second Edition

CHAPTER 29

image

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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Beyond jQuery

Beyond jQuery

Ray Nicholus
jQuery UI

jQuery UI

Eric Sarrion

Publisher Resources

ISBN: 9781430263883Purchase book