SEBESTA WWW Source Code Listings

| Chapter 2 | Chapter 3 | Chapter 4 | Chapter 5 | Chapter 6 | Chapter 7 |

Chapter 5

  1. An example to illustrate the load event, load.html
  2. An example of the use of the click event with radio buttons, registering the event handler by assignment to the button attributes, radio_click.hmtl
  3. An example of the use of the click event with radio buttons, registering the event handler by assigning an event property, radio_click2.hmtl
  4. This document illustrates using the focus event to prevent the user from changing a text field, nochange.html
  5. An example of input password checking, using the submit "} else return true; }", pswd_chk.html
  6. An example of input validation using the change and submit events, validator.html
  7. An example of input validation using the change and submit events, using the DOM 2 event model. Note: This document does not work with IE6, validator2.html
  8. An example of using the navigator object, navigate.html