<!DOCTYPE html">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Test navigation</title>
</head>
<body>
<div id="content">
<h3>Test navigation </h3>
</div>
<p>
Click goto to page 2. then click the back link and check the console.
I am trying to get the WIndow command to call the showPage1 function with two parameters from a variable. See the console for output
</p>
<div id="page1" style="display:none">
<p>page 1</p>
<button id="toPage2">Go to page 2 </button>
</div>
<div id="page2" style="display:none">
<p>page2 </p>
<button id="toPage1">Go to page 1 </button>
<button id="back">back </button>
</div>
</body>
</html>