Set event return value to false (IE) : returnValue « Event « JavaScript Tutorial






<html>
<head>
<title>A Simple Page</title>
<script language="JavaScript">
<!--
function yourhelp()
{
    alert("Hmmm, I don't know what you should do!");
    event.returnValue = false;
}
//  -->
</script>
</head>
<body onHelp="yourhelp()">

</body>
</html>








15.4.returnValue
15.4.1.Set event return value to false (IE)