DOM-1
|
« |
< | § | > |
Netscape CodeStock 1999
|
DOM-1 example: page code
|
<HTML>
<!-- humanfact@generalpicture.com -->
<!-- Monday, May 31, 1999 v.01 -->
<HEAD>
<TITLE>Dynamic Table</TITLE>
<SCRIPT SRC="mvctable.js"></SCRIPT>
</HEAD>
<BODY>
<IMG SRC="w3cdom.gif" ALT="W3C DOM" /> (Use this page only in Version-5 Netscape or
Microsoft browsers.) A simple demonstration of the model/view/controller pattern and the use of the W3C's standard
Document Object Model. Test (1) <I>first</I>, and <I>then</I> (2).<BR />
<INPUT TYPE="button" ID="whosaid" ONCLICK= "javascript: refreshView(arraysources);"
VALUE="1. Who said?" /><BR />
<INPUT TYPE="button" ID="goaway" ONCLICK= "javascript: destroyView();" value="2.
Go away"/><BR />
</BODY>
</HTML>
Copyright © 1999 General Picture . Permission granted to reproduce in whole or part without charge as long as http://www.generalpicture.com is cited as source.
|