<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> |