Example of a form with a button, a function, a parameter and some value

Here you see a step by step combination of a form with a button, a function, a parameter and some value. The output is the value which is declared or pre-programmed in the Html-line; here: 99.

You see the value 99 is allocated to the internal variable p after clicking on the button. The value of p is set into an alert-box by the function 'show'.

Results:

xxxx
xxxx
xxxx
xxxx
xxxx
xxxx.

Comments:

You see a button declared with a function show (99). If you click there, the number of 99 is display in an alert-box on the screen.

Enschede, 8 jan 2001; updated: jan 28, 2003