Alert / Confirm

Controls
Functions at
Global Scope:
Send Alert
Send Confirm
Functions in a
Callable Object:
Send Alert
Send Confirm
Functions registered as
Event Handlers:
Send Both
Using function at global scope from an external (include) file :
Send Alert
Status
Log (Clear)
The purpose of this script is to test the invocation of the alert and confirm dialogs on the browser from the php script. It also tests the use of 'global functions', 'callable objects' and 'event handlers'. Last, it tests the ability to include a php script that contains the request handler only at the time of the request.