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


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

in Table To:


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