Basic HTML version of Foils prepared 23 June 1997

Foil 78 Dynamic Forms in JavaScript - I

From JavaScript Tutorial for Certificate Course UC Web applications Certificate -- Summer 97. by Geoffrey C. Fox, Tom Scavo


<head> <script language="JavaScript">
buttons = new top.MakeArray(2);
buttons[1] = 'one'; buttons[2] = 'two';
function testprocess(obj1, obj2, index) {
confirm(obj1.name + ' ' +
  • obj2.value + ' ' + index); }
</script> </head>
Then create a form as follows:
<form name="testbuttonsform">
<script language="JavaScript">
top.flexbuttons(1,"testgroup",2,buttons,2,"testprocess");
</script>
</form>



Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Wed Apr 1 1998