Chapter 2. DOM manipulation

This chapter covers

  • Bootstrapping JavaScript code
  • Managing DOM elements with Ext.Element
  • Loading HTML fragments via Ajax
  • Achieving a highlight effect on an HTML element
  • Implementing templates and XTemplates

When working on applications, you may think metaphorically to help you develop parallels for concepts in your mind. For instance, we like to think of the timing of an application’s launch as similar to that of the space shuttle’s launch, where timing can mean the difference between success and frustration. Knowing when to initialize your JavaScript is critical when dealing with anything that manipulates the DOM. In this chapter you’ll learn how to launch your JavaScript using Ext JS to ensure your application ...

Get Ext JS in Action, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.