HELP! * GREY=local LOCAL HTML version of Foils prepared 15 January 1997

Foil 79 The flexbuttons dynamic form in JavaScript

From JavaScript Tutorial for CPS616 Technologies of the Information Age 1997 Basic Information Track of CPS -- Spring Semester 97. by Geoffrey C. Fox * See also color IMAGE

function flexbuttons(maxradio, groupname, number, indname, indexselected, onprocess)
/* Output a group of single selection radio or select buttons */
/* maxradio defines strategy -- if more than maxradio items use a select field, if smaller than this use radio buttons */
/* User responsible for <form> </form> container and any formatting */
/* onprocess is textstring of "onclick/change" function" */
/* number is number of buttons with name indname[1...number] */
/* groupname is name of group */
/* indexselected running from 1 to number is initial selection */



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 Sat May 24 1997