| Index | Code Tester |
1. Use the property viewer to create a chart that shows the JavaScript objects and how they are related. Your chart should be like an organizational chart or be in list format. You need to show both the window and document objects and their immediate child objects. The window object should be at the top of your chart/list. You should only show the objects; do not show the properties and events.
2. List the properties for the window and document objects. Do not list events or methods or sub-objects.
3. In the Property Viewer, type "window.document.all". What is displayed? What do they represent?
4. In the Property Viewer, type "window.document.all[0]". What is displayed? Repeat for window.document.all[i] for i = 1 to 11. What is being displayed? What does the property "nodeName" represent?
5. In the Property Viewer, type "window.document.all.Text1". What is displayed? what is "Text1"?
6. Create a web page and use script and the properties of the window and document object to: