XHTML form example
Below is a simple quiz, please fill it in.
Explanations:
- In the head, some JavaScript code that defines a "give_feedback" function is loaded
- This give_feedback function is triggered when the user presses the submit button. This is made with the most recent JS programming style, all within JavaScript code
- Understanding how to deal with HTML forms is not trivial, i.e. you have to learn about DOM and be able to understand texts like the Gecko HTML Form Interface documentation. However, for starters, you just may try to adapt code to your need.
- For explanation of the JS code, see the 3-xhtml-radio-buttons.js file.
Made by Daniel K. Schneider, TECFA. This is freeware.
Last modified: Mon Mar 31 19:23:59 CEST 2008