B
beenben
when I just have the alert on onload it works but I can't get it to
work when I've also got an alert on unLoad. What am I doing wrong??
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
<head>
<script type="text/javascript">
function surveyQ(){alert("Please take our Customer Service Survey.");}
return true;
function thanks(){alert("We appreciate you opinions!"); } return true;
</head>
<body>
onload="surveyQ()";
onUnload="thanks()";
</body>
</script>
</html>
work when I've also got an alert on unLoad. What am I doing wrong??
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
<head>
<script type="text/javascript">
function surveyQ(){alert("Please take our Customer Service Survey.");}
return true;
function thanks(){alert("We appreciate you opinions!"); } return true;
</head>
<body>
onload="surveyQ()";
onUnload="thanks()";
</body>
</script>
</html>