Share this Page URL
Help

Chapter 16. Dynamic HTML: Changing Web P... > Creating New Elements - Pg. 541

Dynamic HTML: Changing Web Pages On-the-Fly Making elements visible using the display property </H1> <FORM> <INPUT TYPE="BUTTON" VALUE="Click Me" ONCLICK="showAll()"> <BR> <BR> <DIV ID="div1" STYLE="display: none"> Here's some additional text! </DIV> </FORM> </BODY> </HTML> 541 You can see the results in Figure 16.9.