Here is my code what is my problem. I need a window to open up that says ok or cancel.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang = "en"
dir="ltr">
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-
1" />
<title>Exit Row Requirements</title>
</head>
<body>
<script type="text/javascript">
/* <![CDATA[ */
confirmed = window.confirm("Click OK to continue. Click Cancel to
stop.");
if (window.confirm("Are you over 15 years old?")
{
document.write("<p>By the federal law, children under age 15
must not sit in emergency exit rows,</p>");
}
else if (window.confirm("Are you capable of lifting 50 or more
pounds?"))
{
document.write("<p>You must be able to lift 50 or more
pounds to sit in an exit row.</p>");
}
if (window.confirm("Are you willing to assist the crew in
the event of an emergency?"))
{
document.write("<p>To sit in an exit row, you must be
willing to assist the crew in the event of an
emergency.</p>");
}
else
{
document.write("<p>You meet the criteria for sitting in an
exit row.</p>");
}
/* ]]> */
</script>
</body>
</html>