lotuseclat79
Thread Starter
- Joined
- Sep 12, 2003
- Messages
- 20,583
JavaScript Events.
In web development terms, an "event" is something that triggers a specific action in the browser. Usually, an event occurs when a user loads a page, clicks on a button or performs some other task with the mouse or keyboard. This page lists the most common events that can be inserted into JavaScript code to react to user actions.
The web page is a wiki and discusses: page, form, keyboard, and mouse events.
If you'd like to try out the examples on your own computer, you'll need to start with the hyperlinked template and add the HTML and JavaScript where instructed.
Note: All examples use John Resig's addEvent function (see hyperlink).
-- Tom
In web development terms, an "event" is something that triggers a specific action in the browser. Usually, an event occurs when a user loads a page, clicks on a button or performs some other task with the mouse or keyboard. This page lists the most common events that can be inserted into JavaScript code to react to user actions.
The web page is a wiki and discusses: page, form, keyboard, and mouse events.
If you'd like to try out the examples on your own computer, you'll need to start with the hyperlinked template and add the HTML and JavaScript where instructed.
Note: All examples use John Resig's addEvent function (see hyperlink).
-- Tom