- element, 453 slideToggle( ) method, 231–234 slideUp( ) method, 231–234 sliding elements (animation), 231 sortable( ) method, 339–347, 354–358 sortable lists, 339–347 Sortable plugin, 339–347, 354–358 customizing, 347–353 events, 565–566 methods, 561–562 options, 562–565 serialize options, 566 ui object, 567 sorted lists, 354–358 storage, files, 12 638 bindex.indd 02/20/2015 Page 638 switch switch control, 23 keyword, 20 T tabbed user interface, 420–424 element, 57 Tablesorter plugin, 433–440 options, 619–621 tabs elements, 609 events, 608 methods, 605–606 options, 606–608 styling, 609 ui object, 609 tabs( ) method, 420–424 Tabs plugin animation, 428–429 implementation, 417–419 remote content loading, 425–428 taggers, 11 element, 52, 53–54 text methods and, 525 settting, 104–106 multiple items, 106–108 WYSIWYG editor, 469–473 text( ) method, 103 element, 42 this keyword, 43, 142, 246 toggle( ) method, 223–230 toggleClass( ) method, 102 element, 53 transition( ) method, 456 trigger( ) method – wrapAll( ) method method, 68 keyword, 20 type selectors, 11–12 trigger( ) try U UI library, 323–234 Accordion UI building, 373–375 default pane, 376–379 event changes, 379–380 header elements, 380–382 Datepicker plugin, 383–395 localizing, 395–397 Dialog plugin, 399–414 Draggable and Droppable libraries, 323 Draggable plugin, 324–330 Droppable plugin, 324–330 Selectable plugin, 361–372 Sortable plugin, 339, 354–358 customizing, 347–353 ui object Dialog plugin, 604 events, droppable, 557–558 options draggable, 556–557 droppable, 557–559 slider, 618 Sortable plugin, 567 tabs, 609
- element, 31, 344 unselect( ) method, 246–247 unselectFile( ) method, 369 unwrap( ) method, 103, 121–123 unwrapping elements, 121–123 upload event, 80 utilities Datepicker plugin, 597 methods, 547–549 V method, 34 validate( ) method, 40–41 values arrays, fi nding, 158–160 disabled, 41 methods and, 525–526 van Kesteren, Anne, 28 variables, naming, 24 video download control, 463–464 fallback, 461–462 Flash Player, 462–463 h.264 content, 462–463 Silverlight, 463 element, 461 visibility, selectors, 495 val( ) W WebKit, WebKit Blink, WHATWG (Web Hypertext Application Technology Working Group), 280 while keyword, 20 wrap( ) method, 103, 117–119 wrapAll( ) method, 103, 119 639 bindex.indd 02/20/2015 Page 639 wrapInner( ) method – XMLHttpRequest object wrapInner( ) method, 103, 119–121 wrapper methods, 63–64 click( ), 64–67 hover( ), 67 ready( ), 67 wrapping content, elements collection, 119 contents, 119–121 individual, 117–119 unwrapping, 121–123 WYSIWYG editor contenteditable attribute, 467–469 640 bindex.indd 02/20/2015 Page 640 selections creating, 473–478 restoring, 479–480 storing, 478–479 text formatting, 469–473 X XHTML, 10 XML (eXtensible Markup Language), GET requests and, 182–188 XMLHttpRequest object, fi le uploads and, 313–319 Try Safari Books Online FREE for 15 days and take 15% off for up to Months* Gain unlimited subscription access to thousands of books and videos With Safari Books Online, learn without limits from thousands of technology, digital media and professional development books and videos from hundreds of leading publishers With a monthly or annual unlimited access subscription, you get: • Anytime, anywhere mobile access with Safari To Go apps for iPad, iPhone and Android • Hundreds of expert-led instructional videos on today’s hottest topics • Sample code to help accelerate a wide variety of software projects • Robust organizing features including favorites, highlights, tags, notes, mash-ups and more • Rough Cuts pre-published manuscripts START YOUR FREE TRIAL TODAY! Visit: www.safaribooksonline.com/wrox *Discount applies to new Safari Library subscribers only and is valid for the first consecutive monthly billing cycles Safari Library is not available in all countries Programmer to Programmer™ Connect with Wrox Participate User Group Program Take an active role online by participating in our P2P forums @ p2p.wrox.com Become a member and take advantage of all the benefits Wrox Blox Wrox onn Download short informational pieces and code to keep you up to date and out of trouble Follow @wrox on Twitter and be in the know on the latest news in the world of Wrox Join the Community Wrox on Sign up for our free monthly newsletter at newsletter.wrox.com Join the Wrox Facebook page at facebook.com/wroxpress and get updates on new books and publications as well as upcoming programmer conferences and user group events Wrox.com Browse the vast selection of Wrox titles, e-books, and blogs and find exactly what you need Contact Us We love feedback! Have a book idea? Need community support? Let us know by e-mailing wrox-partnerwithus@wrox.com badvert.indd 02/19/2015 Page 644 WILEY END USER LICENSE AGREEMENT Go to www.wiley.com/go/eula to access Wiley’s ebook EULA ... 623 INDEX 627 ffi rs.indd 02/19 /2015 Page ii Web Development with jQuery? ? ffi rs.indd 02/19 /2015 Page iii Web Development with jQuery? ?... Richard York ffi rs.indd 02/19 /2015 Page v Web Development with jQuery? ? Published by John Wiley & Sons, Inc 10475 Crosspoint Boulevard Indianapolis, IN 46256 www.wiley.com Copyright © 2015 by... rs.indd 02/19 /2015 Page ix CONTENTS INTRODUCTION xix PART I: THE JQUERY API CHAPTER 1: INTRODUCTION TO JQUERY What jQuery Can Do for You Who Develops jQuery? Obtaining jQuery Installing jQuery Programming