The more advanced JavaScript applications get, the greater is the need for structuring the code well. One way to do so is by using OOP, object-oriented programming. JavaScript itself is not an object-oriented language, but rather an object-based language. So there is a support for OOP, though it's somewhat limited. The second topic of this chapter is the general JavaScript event handling. Apart from the basics, special events (mouse and keyboard) are covered. |