In this Application, you will create a dynamic Web page that responds to an event, specifically, the user clicking a check box. Your event handler will change the content that is displayed in one section of the page, depending on whether the check box is selected or not.
When the user selects the check box “Check me,” read the selected item from the select box “Wonder” and display its value in the page footer
· When the user clears the check box “Check me,” display the selected item from the select box “Category”
Hint: Each select box has a selectedIndex property that gives the index of the item selected in that box. Each select box also has an options property, which is an array of the option items displayed in that box. The text property of the option item provides the text the user sees in the select box. For example, if the Wonder select box has selectedIndex = 2, the following statement will obtain the text for the second element: