Warning message for Siebel browser
Hi Team,
How to get warning message in Siebel application while closing Siebel session.
We have java script code, but how to invoke this JS from Siebel. It should be triggered while closing Siebel session. Please let us know how this can be achieved and also share your suggestions if there is any other alternatives.
<html>
<head>
<script type="text/javascript">
var hook = true;
window.onbeforeunload = function() {
if (hook) {
return "Did you save your stuff?"
}
}
</script>
</head>
</html>
Thanks,
KP