C H A P T E R  29

Buttons and Collapsible Blocks

In this chapter, I describe two of the jQuery Mobile widgets: buttons and collapsible blocks. The jQuery Mobile button widget works in a very 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. 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 29-1 provides the summary for this chapter.


Using jQuery Mobile Buttons

I already used some button widgets ...

Get Pro jQuery now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.