U
UKuser
Hi,
I have the following script which I'm trying to make work:
<head>
<script>
window.onbeforeunload =
if (!document.forms['f4'].elements['Continue'].value==true{
function() {
return("This will take you back to the login page.");
}
}
</script>
</head>
In short I want to alert a user when they leave the page unless they
click the button Continue.
I'm sure this is quite simple, and will work on it. Will post the
solution if I find it.
Thanks
A
I have the following script which I'm trying to make work:
<head>
<script>
window.onbeforeunload =
if (!document.forms['f4'].elements['Continue'].value==true{
function() {
return("This will take you back to the login page.");
}
}
</script>
</head>
In short I want to alert a user when they leave the page unless they
click the button Continue.
I'm sure this is quite simple, and will work on it. Will post the
solution if I find it.
Thanks
A