Yo all, some help needed...
Wondering if it's possible to let a window load a pl or php script, then close the browser window, whenever the user click on the X button on the top right corner.
The flow should be something like this,
<script>
function leave() {
some functions to load "byebye.pl"
}
</script>
</head>
<body onUnload="leave()">
or any other ways of doing it?
A million thanks.
Wondering if it's possible to let a window load a pl or php script, then close the browser window, whenever the user click on the X button on the top right corner.
The flow should be something like this,
<script>
function leave() {
some functions to load "byebye.pl"
}
</script>
</head>
<body onUnload="leave()">
or any other ways of doing it?
A million thanks.