Open a JS PopUp Window from a forms button

This example uses buttons to associate a window opening function with an event. We use a loop in javascript to find each button and to associate and event handling function. More examples are in the same directory

The "this" variable in the JS code represent the element in which the event occured. I.e. in this case the button. We then can extract information from "this". See the associated JS code.

DKS - Last modified: Sat Apr 5 18:20:43 CEST 2008