So far we have discussed selecting elements and traversing through them. We will now explore how to manipulate those elements once we have got our hands on them.
We will start by changing the style of an element by updating its inline styles and then by adding CSS classes. Following this we will explore how to show and hide elements.
Once again we will use the HTML snippet defined in the Selecting DOM elements recipe.
var bookTitleEl = Ext.get('book-title');