The attribute assigns a JavaScript command or function to execute when the event happens. It can also return a value when used with the return statement. This is referred to as instance hierarchy because it only works with specific instances of objects, rather than general classes. The window object is the parent of all other Navigator objects. Underneath window , location , history , and document all share precedence.
Document includes forms, links, and anchors.
Each object is a descendant of the higher object. A form called orderForm is an object, but is also a property of document . As such, it is referred to as document.orderForm . Programming in Java requires a Java Development Kit with compiler and core classes. Although Java started out as a language intended for writing Web applets, more and more stand-alone Java applications are being created.