Skip to Content
Beginning ASP.NET Web Pages with WebMatrix®
book

Beginning ASP.NET Web Pages with WebMatrix®

by Mike Brind, Imar Spaanjaars
November 2011
Beginner
432 pages
11h 13m
English
Wrox
Content preview from Beginning ASP.NET Web Pages with WebMatrix®

Chapter 6

AJAX and jQuery

What you will learn in this chapter:

  • How jQuery works
  • How to include jQuery in your pages
  • jQuery basics
  • How to manipulate page elements using jQuery
  • AJAX basics
  • How to use the JSON helper
  • Using jQuery plug-ins

The days of the static web disappeared with the introduction of server-side technologies. Developers began producing web applications instead of websites. These applications began to replace desktop software. However, as web-based software grew in abundance, it lacked a key feature often found in its desktop-related counterparts: usability. If parts of the page content changed as a result of user input, the user often had to wait for a full page refresh to see these changes. The interface was still static.

In the late 1990s, attempts to liven up web pages were made using Dynamic HTML (DHMTL), which relied on client-side scripting, most often using JavaScript to manipulate the underlying HTML in the browser. Some of these efforts were crass — you can still find sites where your mouse cursor is stalked by a trail of stars. Other attempts sought to solve usability problems by hiding and showing segments of the page as a result of mouse movement or click events, such as sliding menus and news tickers.

There is a fundamental problem with JavaScript: Different browser vendors create their own implementations. As browser vendors rushed new browsers out into the market during the early part of this century, they started developing their own custom features, ...

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

ASP.NET 4 Unleashed

ASP.NET 4 Unleashed

Stephen Walther, Kevin Hoffman, Nate Dudek

Publisher Resources

ISBN: 9781118050484Purchase book