Body on stop event : Body « HTML « JavaScript DHTML






Body on stop event

  

<html>
<head>
<title>A Simple Page</title>
<script language="JavaScript">
function stopped()
{
    alert("don't go");
}
</script>
</head>
<body onstop="stopped()">

</body>
</html>

   
    
  








Related examples in the same category

1.Body onload event
2.Body on click event
3.Running a Script from the body onload Event Handler