Previous Example-|-Next Example-|-Return to Chapter Listing
Example 12.2:
onchange: Form Validation
This time we're using the onchange event handler. Change the value in the box, then click outside. You'll see an Alert box whatever you change the number to.
These are the scripts we used. First, in the HEAD:
Then we created this form element:
Previous Example-|-Next Example-|-Return to Chapter Listing