eg-259:homework:11
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
eg-259:homework:11 [2007/10/19 09:17] – eechris | eg-259:homework:11 [2012/02/17 15:59] (current) – eechris | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== JavaScript and HTML Documents: part 2 ====== | ||
+ | |||
+ | **Adapted from**: Robert W. Sebasta, Programming the World-Wide Web, 3rd Edition, Addison Wesley, 2006. **Supporting**: | ||
+ | |||
+ | - Rewrite the document for the exercises of the [[eg-259: | ||
+ | - Develop, test, and validate an HTML document that has check boxes for apple (59p each), orange (49p each), and banana (39p each), along with a submit button. Each of the check boxes should have its own '' | ||
+ | - Develop, test, and validate an HTML document that is similar to that of Exercise 2. In this case, use text boxes rather than check boxes. These text boxes take a number, which is the purchased number of the particular fruit. The rest of the document should behave exactly like that of Exercise 2. | ||
+ | - Add reality checks to the text boxes of the document in Exercise 3. The checks on the check box inputs should ensure that the input values are numbers in the range 0-99. | ||
+ | - Revise the document of Exercise 3 to use the DOM 2 event model. | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | [[eg-259: | ||