Skip to Content
Head First jQuery
book

Head First jQuery

by Ryan Benedetti, Ronan Cranley
September 2011
Beginner to intermediate
536 pages
11h 46m
English
O'Reilly Media, Inc.
Content preview from Head First jQuery

Chapter 8. jQuery and Ajax: Please Pass the Data

image with no caption

Using jQuery to do some cool CSS and DOM tricks is fun, but soon you’ll need to read information (or data) from a server and display it. You may even have to update small pieces of the page with the information from the server, without having to reload the page. Enter Ajax. Combined with jQuery and JavaScript, it can do just that. In this chapter, we’ll learn how jQuery deals with making Ajax calls to the server and what it can do with the information returned.

Bring the Bit to Byte race into this century

From: Webville MegaCorps Marketing

Subject: 42nd Annual Bit to Byte Race results page

Hey Web Design Team,

As you’re all aware, every year we sponsor Webville’s Annual Bit to Byte 10K run by providing the race results page. But our page is way behind the times, as we only update it after all the results are in. People want instant gratification, and with Twitter and Facebook, folks attending the race are beating us at providing real-time results.

So we’ve got a challenge for you with a sweet payoff. If you can update our Webville Results page by next week to provide real-time results, you’ll get to hang out in the VIP section at the end of the race. (Oh, and did we mention the race is in Maui this year?)

Here’s what we need:

  1. The page should provide the option to show either male or female runners, or all participants at once.

  2. It should provide ...

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.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

jQuery in Action, Third Edition

jQuery in Action, Third Edition

Bear Bibeault, Yehuda Katz, Aurelio De Rosa

Publisher Resources

ISBN: 9781449311988Errata Page