-
Book Overview & Buying
-
Table Of Contents
Oracle Application Express 4.0 with Ext JS
By :
In this chapter we will be familiarizing ourselves with some of the functionality the Ext JS library provides for manipulating the Document Object Model.
The Document Object Model (DOM) is an API that provides a structural representation of a HTML document. This allows developers to manipulate web pages using the properties, methods, and events exposed by the DOM. Manipulation of DOM elements is one of the basic staple tasks that almost every JavaScript code will do.
Ext JS provides a library of methods that allow you to do cross-browser DOM manipulation, allowing you to focus on adding business functionality, rather than having to build separate solutions for different browsers.
This chapter explores some of the functionality Ext JS provides, with topics including:
Building a sandbox for standalone testing
Cross-browser DOM manipulation and traversal
Sizing and positioning elements
CSS classes and styling
Defining event handlers
Parameter passing using object...
Change the font size
Change margin width
Change background colour