I want you to do one or more pages that illustrate the following:
Feel free to make changes to the programs to improve them if you so desire.
- Use getElementById
- Use getElementsByTagName
- Use what you extracted with the tag name and display the second element in the collection
- Use getElementsByClassName
- Use what you extract with the class name and display the last element in the collection
- Make a loop where you add an element to a list on each pass - when the loop is done, display
the list
- Make an array that contains itemNo, itemName, price for a series of products. Use a loop
and extract and display information about each item.
- Do a program similar to this one http://www.pgrocer.net/CIS122/assocarraycrsDOM.html but use
your own idea to make the array
- Do a program similar to this one http://www.pgrocer.net/Cis44/checkboxes/radiopay1.html
- Alter the program above to include an id for each radio button and test using the id
- Do a program similar to this one http://www.pgrocer.net/CIS122/DOMBasics6.html but add in two
other things you can test for