JavaScript is an object-oriented scripting language used for client-side web development. Despite its name, it is essentially unrelated to the Java programming language, but does provide an excellent opportunity to make web pages more interactive.
The Document Object Model (DOM) is a platform- and language-neutral interface that allows programs and scripts, such as JavaScript, to dynamically access and update the content, structure, and style of XHTML documents. The DOM represents XHTML documents as a tree structure of elements. By traversing the DOM tree with JavaScript, you can reference all XHTML elements, their attributes, and the text they contain. You can also modify or delete existing elements as well as create and insert new ones.
Three reasons: The rise of the Web 2.0 era, the release of Dreamweaver CS4, and the risk of being left behind.
With Web 2.0, JavaScript-based applications have become almost ubiquitous. The increasing demand for JavaScript development has led to the creation of a number of JavaScript libraries or frameworks that allow for easier development through their pre-written controls.
Dreamweaver CS4 is geared towards creating next-generation web experiences by supporting the following new features that assist JavaScript developers: