Example #1: Demonstrates onkeyup in field using recommended technique for registering events

Example One:     


Example #2: Using In-line javascript is simplier, but blurs structure and behavior

Example Two:

---Messages for both examples follow---