<HTML> <HEAD> <TITLE>......</TITLE> <HEAD> <SCRIPT> function show (p) { alert(p) } </SCRIPT> <BODY> xxxx<BR> xxxx<BR> xxxx<BR> <FORM> <INPUT TYPE="button" VALUE="inclick region" ONCLICK="show (99)"> </FORM> xxxx<BR> xxxx<BR> xxxx.<BR> </BODY> </HTML>
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'.
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