O'Reilly logo

Ext JS 4 Web Application Development Cookbook by Stuart Ashworth, Andrew Duncan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 2. Manipulating the Dom, Handling Events, and Making AJAX Requests

In this chapter, we will cover:

  • Selecting DOM elements
  • Traversing the DOM
  • Manipulating DOM elements
  • Creating new DOM elements
  • Handling events on elements and components
  • Delegating event handling of child elements
  • Simple animation of elements
  • Custom animations
  • Parsing, formatting, and manipulating dates
  • Loading data through AJAX
  • Encoding and decoding JSON date

Introduction

This chapter will cover topics about working with the Document Object Model (DOM), selecting, creating, and manipulating elements. We'll look at how to add built-in animations to your elements and how to create custom animations.

We'll walk through creating your first AJAX request and encoding/decoding the data either ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required