Buttons play an important role in several aspects of a web application: first of all, navigation. The jQuery mobile framework provides easy and quick ways in which we can turn our links into nice-looking buttons in order to eventually obtain a page and navigation system which look visually consistent.
It should be made clear, however, that buttons are extremely useful – and necessary – in other contexts too; for example, forms. Without buttons, we wouldn't be able to submit information and transmit data. A button needs to be easy to spot and use (that is, click), blending well with other elements in the page.
jQuery Mobile makes this button-form interaction as easy as possible, leaving unnecessary tasks out of the developer's responsibility. In the next chapter, we will see how.