Skip to Content
Learning jQuery - Fourth Edition
book

Learning jQuery - Fourth Edition

by Jonathan Chaffer, Karl Swedberg
June 2013
Beginner content levelBeginner
444 pages
9h 45m
English
Packt Publishing
Content preview from Learning jQuery - Fourth Edition

Exercises

To complete these exercises, you will need the index.html file for this chapter, as well as the finished JavaScript code as found in complete.js. These files can be downloaded from the Packt Publishing website at http://www.packtpub.com/support.

The challenge exercise may require the use of the official jQuery documentation at http://api.jquery.com/.

  1. Modify the key computation for the first table so that titles and authors are sorted by length rather than alphabetically.
  2. Use the HTML5 data in the second table to compute the sum of all of the book prices, and insert this sum into the heading for that column.
  3. Change the comparator used for the third table so that titles containing the word jQuery come first when sorted by title.
  4. Challenge
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning jQuery 3 - Fifth Edition

Learning jQuery 3 - Fifth Edition

Adam Boduch, Jonathan Chaffer, Karl Swedberg
jQuery Cookbook

jQuery Cookbook

Cody Lindley

Publisher Resources

ISBN: 9781782163145Other