Adding a mobile, native-looking button with jQuery Mobile
Let's make buttons! Making a button may seem like a very trivial part of the design, but contrarily, when you are building a web application, a button can be a very important part of the site's usability.
jQuery Mobile has an impressive array of button invocations, and they are all easy to use. They are usable within many other jQuery Mobile widgets as well. In addition, it is just as easy to make a button from a link as it is to make one from a form input
element.
Getting ready
In your IDE or text editor, spin up a new HTML document and add the requisite header tags. First add the viewport <meta>
tag, followed by links to the jQuery Mobile CSS and the JavaScript libraries jQuery and jQuery ...
Get HTML5 and CSS3: Building Responsive Websites now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.