December 2013
Intermediate to advanced
384 pages
9h 54m
English
Much of the jQuery Mobile framework is built on extending the current HTML elements with additional functionality. jQuery Mobile builds on the HTML framework by adding data attributes to the HTML elements.
All the data attributes begin with data- and end with some slightly descriptive word of what the attribute means. The jQuery Mobile library’s additional methods, events, styles, and values that fit the mobile needs are attached to the element. You will see this extensively in the examples to come.
Table 14.1 lists many of the attributes along with some of the values they support. The table is a good way to visualize how the data attribute method works and can act as a reference.
Table 14.1 A Few of the ...
Read now
Unlock full access