9.1 INTRODUCTION

In previous unit we have learnt about basic programming constructs of JavaScript. Now we will discuss how to handle user driven events and reply accordingly. We will also discuss objects in detail.

In this unit you will learn how DHTML can be used to develop an interactive web page and cookies can be used to store user preferences.

When users trip your web, they do things like click on text and images and given links, hover over things etc. These are examples of what JavaScript calls events.

When page loads called an event. If the user clicks on a button, that click too is an event. Other examples include events like pressing any key, closing a window, resizing a window, etc.

Licensed under the Creative Commons Attribution Share Alike License 4.0

Made with eXeLearning (New Window)