Skip to 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 30

image

Buttons and Collapsible Blocks

In this chapter, I describe two additional jQuery Mobile widgets: buttons and collapsible blocks. The jQuery Mobile button widget works in a similar way to the jQuery UI buttons you saw earlier in the book, with the exception that you can create and use simple buttons without using any custom JavaScript code at all, relying instead on data attributes.

A collapsible block is like a single panel from an accordion; in fact, you can use collapsible blocks on their own or combine several together to form a simple accordion. Table 30-1 provides the summary for this chapter. I also show you widgets that offer ...

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

Pro jQuery

Pro jQuery

Adam Freeman
Beyond jQuery

Beyond jQuery

Ray Nicholus
jQuery UI

jQuery UI

Eric Sarrion

Publisher Resources

ISBN: 9781430263883Purchase book