Apress - jQuery Recipes (January 2010) (ATTiCA).pdf

(4845 KB) Pobierz
Apress - jQuery Recipes (January 2010) (ATTiCA)
THE EXPERT’S VOICE ® IN WEB DEVELOPMENT
Recipes
A Problem-Solution Approach
An expert compilation of solutions
to real-world jQuery problems
B.M. Harwani
jQuery
259662045.080.png 259662045.091.png 259662045.102.png 259662045.108.png 259662045.001.png 259662045.012.png 259662045.021.png 259662045.030.png
 
 
259662045.042.png 259662045.043.png 259662045.044.png 259662045.045.png 259662045.046.png 259662045.047.png 259662045.048.png 259662045.049.png 259662045.050.png 259662045.051.png 259662045.052.png 259662045.053.png
 
259662045.054.png
 
259662045.055.png
 
259662045.056.png
 
259662045.057.png
 
259662045.058.png 259662045.059.png 259662045.060.png 259662045.061.png 259662045.062.png 259662045.063.png 259662045.064.png 259662045.065.png 259662045.066.png 259662045.067.png 259662045.068.png
 
259662045.069.png 259662045.070.png 259662045.071.png 259662045.072.png 259662045.073.png 259662045.074.png 259662045.075.png 259662045.076.png 259662045.077.png 259662045.078.png 259662045.079.png 259662045.081.png 259662045.082.png 259662045.083.png 259662045.084.png 259662045.085.png 259662045.086.png 259662045.087.png 259662045.088.png 259662045.089.png 259662045.090.png 259662045.092.png 259662045.093.png 259662045.094.png 259662045.095.png 259662045.096.png 259662045.097.png 259662045.098.png 259662045.099.png 259662045.100.png 259662045.101.png 259662045.103.png 259662045.104.png 259662045.105.png 259662045.106.png 259662045.107.png 259662045.109.png 259662045.110.png 259662045.111.png 259662045.112.png 259662045.113.png 259662045.114.png 259662045.115.png 259662045.116.png 259662045.117.png 259662045.118.png 259662045.002.png 259662045.003.png 259662045.004.png 259662045.005.png 259662045.006.png 259662045.007.png 259662045.008.png 259662045.009.png
BOOKS FOR PROFESSIONALS BY PROFESSIONALS ®
jQuery Recipes:
A Problem-Solution Approach
Dear Reader,
B.M. Harwani
Author of
Foundation Joomla
The jQuery framework is fantastically powerful and elegant, but it still has
enough thorny edges to snag unwary users. jQuery Recipes is chock full of solu-
tions to those thorny problems, over a hundred of them, ranging from the com-
mon to the more obscure. We cover areas such as:
• Handling keyboard and mouse events
• Form validation techniques
• Applying animation effects
• Manipulating the DOM
• Advanced table handling
• Working with JSON and XML data
For each problem, we carefully define what the issue is first, and then pro-
vide the code solution along with any required HTML and CSS to get the exam-
ple working. Where there are numerous permutations to the problem, we’ll run
through a set of solutions to keep you fully armed for all eventualities. The code
is then carefully explained so that you understand the core details of the solution
and can apply them to your own code any time you come across a similar issue.
Along with using the book as a reference to dip into for answers, you can also
use it for increasing your knowledge of jQuery. By reading through the solutions
and trying out the fully illustrated and explained sample code, you will gain a bet-
ter understanding of the inner workings of the jQuery framework and how it can
be used to make your websites more dynamic and sticky.
B.M. Harwani
THE APRESS ROADMAP
Companion eBook
jQuery Recipes
Pro JavaScript Techniques
Beginning
JavaScript
Practical JavaScript Projects
Pro JavaScript RIA Techniques
See last page for details
on $10 eBook version
SOURCE CODE ONLINE
www.apress.com
ISBN 978-1-4302-2709-0
54499
US $44.99
Shelve in:
Web Development
User level:
Intermediate
9 781430 227090
259662045.010.png 259662045.011.png 259662045.013.png 259662045.014.png 259662045.015.png 259662045.016.png 259662045.017.png 259662045.018.png 259662045.019.png 259662045.020.png 259662045.022.png 259662045.023.png 259662045.024.png 259662045.025.png 259662045.026.png 259662045.027.png 259662045.028.png 259662045.029.png 259662045.031.png 259662045.032.png 259662045.033.png 259662045.034.png 259662045.035.png 259662045.036.png 259662045.037.png 259662045.038.png 259662045.039.png 259662045.040.png
 
jQuery Recipes
■ ■ ■
B.M. Harwani
259662045.041.png
jQuery Recipes
Copyright © 2010 by B.M. Harwani
All rights reserved. No part of this work may be reproduced or transmitted in any form or by
any means, electronic or mechanical, including photocopying, recording, or by any
information storage or retrieval system, without the prior written permission of the copyright
owner and the publisher.
ISBN-13 (pbk): 978-1-4302-2709-0
ISBN-13 (electronic): 978-1-4302-2710-6
Printed and bound in the United States of America 9 8 7 6 5 4 3 2 1
Trademarked names may appear in this book. Rather than use a trademark symbol with every
occurrence of a trademarked name, we use the names only in an editorial fashion and to the
benefit of the trademark owner, with no intention of infringement of the trademark.
President and Publisher: Paul Manning
Lead Editor: Steve Anglin
Developmental Editor: Matthew Moodie
Technical Reviewer: Massimo Nardone
Editorial Board: Clay Andres, Steve Anglin, Mark Beckner, Ewan Buckingham, Gary
Cornell, Jonathan Gennick, Jonathan Hassell, Michelle Lowman, Matthew Moodie,
Duncan Parkes, Jeffrey Pepper, Frank Pohlmann, Douglas Pundick, Ben Renow-Clarke,
Dominic Shakeshaft, Matt Wade, Tom Welsh
Coordinating Editor: Kelly Moritz
Copy Editor: Candace English
Production Support: Patrick Cunningham
Indexer:
Artist: April Milne
Cover Designer: Anna Ishchenko
Distributed to the book trade worldwide by Springer-Verlag New York, Inc., 233 Spring Street,
6th Floor, New York, NY 10013. Phone 1-800-SPRINGER, fax 201-348-4505, e-mail orders-
ny@springer-sbm.com , or visit http://www.springeronline.com .
For information on translations, please e-mail info@apress.com, or visit
http://www.apress.com .
Apress and friends of ED books may be purchased in bulk for academic, corporate, or
promotional use. eBook versions and licenses are also available for most titles. For more
information, reference our Special Bulk Sales–eBook Licensing web page at
http://www.apress.com/info/bulksales .
The information in this book is distributed on an “as is” basis, without warranty. Although
every precaution has been taken in the preparation of this work, neither the author(s) nor
Apress shall have any liability to any person or entity with respect to any loss or damage
caused or alleged to be caused directly or indirectly by the information contained in this work.
To my mother Mrs. Nita Harwani. My mother is next to God for me. Whatever I am today is just because
of the Moral values taught by her
To Dennis Ritchie and Ken Thompson - the creators of UNIX. I appreciate Ken Thompson’s work with B
programming language and have been fond of programming in Ritchie’s invention: ‘C’ programming
language since I was doing Engineering. I am a great admirer of the security features of Unix and used
to love making shell scripts on UNIX operating sytem during my study days. Their achievments are the
inspiration for the millions of programmers around the world.
Zgłoś jeśli naruszono regulamin