Lect17EventsForms - Announcements Check class announcements...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
Announcements Check class announcements daily You must implement programming projects by yourself 1
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
2 Events Event Notification that something has occurred Example of situations that make the web browser generate an event Browser finishes loading a document When the user clicks on a button When the user moves the mouse Others Event handler (also known as event listener) JavaScript function or code fragment that is executed when a particular event occurs Event handler registration Associating an event handler with a particular event Example: EventEx.html
Background image of page 2
3 Event-driven Programming Normal (control flow-based) programming Approach Start at main() Continue until end of program or exit() Event-driven programming Start at main() Register event handlers. GUIs (Graphical User Interfaces) Example of event-driven software
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
4 Event Handler Attributes for most HTML
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 11/04/2010 for the course CMSC cmsc122 taught by Professor Perez during the Fall '10 term at University of Maryland Baltimore.

Page1 / 8

Lect17EventsForms - Announcements Check class announcements...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online