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

Foil 52 Use of Dynamic Forms (Layout) 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

<head> ... <script language="JavaScript">
testbuttons = new top.MakeArray(2);
testbuttons[1]='one';
testbuttons[2]='two';
function testprocess(object1,object2,index) {
confirm(object1.name + ' ' + object2.value + ' ' + index); }
</script></head>
This can give a form created by JavaScript
<form name="testbuttonsform">
<script language="JavaScript">
top.flexbuttons(1,"testgroup",2,testbuttons,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 Tue Feb 18 1997