The "event" object belongs to the window object and doesn't need generating.
You can use it to find out what happened at the time the script was called -
e.g Where the cursor is, which button was pressed etc etc
You can have the JS set the save flag to true from anywhere you like (as long
as it's before the form is submitted).
The "event" object belongs to the window object and doesn't need generating. You can use it to find out what happened at the time the script was called - e.g Where the cursor is, which button was pressed etc etc
You can have the JS set the save flag to true from anywhere you like (as long as it's before the form is submitted).
Jake