1 | <head> <script language="JavaScript"> |
2 | buttons = new top.MakeArray(2); |
3 | buttons[1] = 'one'; buttons[2] = 'two'; |
4 | function testprocess(obj1, obj2, index) { |
5 |
confirm(obj1.name + ' ' +
|
6 | </script> </head> |
7 | Then create a form as follows: |
8 | <form name="testbuttonsform"> |
9 | <script language="JavaScript"> |
10 | top.flexbuttons(1,"testgroup",2,buttons,2,"testprocess"); |
11 | </script> |
12 | </form> |