Author: Brad Dayley
Chapter 4 deals with accessing HTML elements and, as this is what jQuery was originally designed for, it isn't unreasonable that this focuses on using jQuery to write selectors. Chapter 5 pushes these ideas further with an examination of how you can manipulate the jQuery object set, i.e. what jQuery returns from a DOM query. This is also where you learn basic jQuery idioms such as iterating though collections and functional ideas such as using map.
Chapter 7 shows you how what you have learned can be put to use in manipulating page elements dynamically. Chapter 8 moves on to consider manipulating the entire layout dynamically including resizing and positioning elements. Chapter 9 continues the application of the dynamic modification to form elements.
The next chapter gets slightly more adventurous in it uses jQuery to build a page, or part of a page, by creating and inserting new DOM elements using jQuery. Once you get the idea you quickly discover that you can do just about anything and might think why bother with HTML at all.
Chapter 11 moves on to a completely different topic - jQuery UI. This really isn't core jQuery and not everyone using jQuery will want to extend their use to the UI components provided by jQuery UI. It deals with autocomplete, drag and drop, datepicker, sliders menus and tooltips. Of course there are lots of other UI elements provided as addins.
The next chapter returns to core jQuery with a look at animation, but it continues the previous chapter's focus on the UI. Animation can be applied to any HTML element or indeed any CSS style property.
The final chapter goes off into another non-core jQuery topic - jQuery mobile. Again, not every jQuery user selects jQuery mobile for their mobile UI. It provides a short, 15-page, introduction to a library that probably could fill another phrasebook on its own.
So does the book work?
Overall I liked this book. There are enough helpful boxouts pointing out things you might not have realized to make it useful to the intermediate jQuery programmer as well as beginner. It isn't going to replace a big book of words, but it is handy to have around.
|Last Updated ( Wednesday, 28 February 2018 )|