jQuery Mobile
Cookbook
Over 80 recipes with examples and practical tips to help
you quickly learn and develop cross-platform applications
with jQuery Mobile
Chetan K Jain
BIRMINGHAM - MUMBAI
jQuery Mobile Cookbook
Copyright © 2012 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or
transmitted in any form or by any means, without the prior written permission of the publisher,
except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the
information presented. However, the information contained in this book is sold without
warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers
and distributors will be held liable for any damages caused or alleged to be caused directly or
indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies
and products mentioned in this book by the appropriate use of capitals. However, Packt
Publishing cannot guarantee the accuracy of this information.
First published: November 2012
Production Reference: 1011112
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-84951-722-5
www.packtpub.com
Cover Image by Abhishek Pandey (abhishek.pandey1210@gmail.com)
Credits
Author
Chetan K Jain
Reviewers
Shaun Dunne
Ankit Garg
Yousef Jadallah
Acquisition Editor
Usha Iyer
Lead Technical Editor
Arun Nadar
Technical Editors
Kirti Puajri
Lubna Shaikh
Project Coordinator
Vishal Bodwani
Proofreader
Aaron Nash
Maria Gould
Indexer
Hemangini Bari
Production Coordinator
Arvindkumar Gupta
Cover Work
Arvindkumar Gupta
About the Author
Chetan K Jain loves to code, and has been writing code for over 16 years now. He is a
Senior Architect, and has worked on mobile technologies for over 4 years for Nokia. Since
then, he has moved on to work as a freelance consultant.
Chetan has signicant experience in writing cross-platform mobile apps using jQuery Mobile,
HTML5, CSS3, JavaScript, Nodejs, and has also worked extensively on Qt. Prior to mobile
technologies, he has worked with Java technology and was also certied as an MCSD and
MCSE in his early days.
Chetan is an active contributor to open source development, and tries to help jQuery Mobile
development whenever he can. He regularly participates in developer forums, and was earlier
a top-ranked member and a "mad scientist" in the Nokia Qt Developer Forum.
Chetan was born in Bangalore and lives there with his wife Shwetha and son Tanmay.
The only time he ventured to live away from Bangalore was when he worked for over
4 years in the USA. His adventure didn't end there. He did a solo US cross country drive
in his two door coupe from the east coast to the west and back, driving alone for over
8000 plus miles in 16 days to experience and live life as he calls it. His travelogue can
be found at
http://adventure.chetankjain.net.
Chetan has contributed and published over 15 books to Gutenberg as a volunteer.
He has also published four books on Jaina Literature and History written by his mother
Saraswathamma. He is a voracious reader, and his other interests include music,
movies, and travelling. Photography is his favorite hobby, and his clicks can be found at
http://www.facebook.com/chetankjainphotos/photos_stream.
Chetan can be reached at
chetankjain@gmail.com. He also blogs at
http://dev.chetankjain.net.