The Ext JS provides an easy way to deal with the DOM. We can create nodes, change styles, add listeners, and create beautiful animations, among other things without worrying about the browsers implementations. The Ext JS provides us with a cross-browser compatibility API that will make our lives easy.
The responsible class for dealing with the DOM nodes is the
Ext.Element class. This class is a wrapper for the native nodes and provides us with many methods and utilities to manipulate the nodes.
We can use the
get method from the
Ext.Element class to get a node by its ID and then manipulate the node using the
<!DOCTYPE html> <html> <head> <title>The DOM</title> <!-- Importing the Ext JS library ...