HELP! * GREY=local LOCAL HTML version of Foils prepared 26 February 1996

Foil 53 The flexbuttons dynamic form in JavaScript

From CPS616 Lectures on JavaScript CPS616 Basic Information Track for Computational Science -- Winter-Spring Semester 96. 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 Tue Feb 18 1997