Avatar of David Schure
David Schure

asked on 

New window not closing

Close window function not closing the window.
<!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">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>

<p>Rules and regulations</p>
<button onclick="closeWin()">Close the new window</button>

var myWindow;

function closeWin() {


Open in new window


Avatar of undefined
Last Comment
Dave Baldwin

8/22/2022 - Mon