Basic HTML version of Foils prepared 23 June 1997

Foil 79 Dynamic Forms in JavaScript - II

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


1 function flexbuttons(maxradio, groupname, number, indname, indexselected, onprocess)
2 /* Output a group of radio buttons or select
3 (user responsible for format of <form>):
4 - maxradio defines strategy: if more than
5 maxradio items use a select field, otherwise
6 use radio buttons
7 - groupname is name of group
8 - number is number of buttons with name
9 indname[1..number]
10 - indexselected is initial selection running
11 from 1 to number
12 - onprocess is name of onClick/onChange handler
13 */

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