Hello & Thanks,
I am getting error msg:
jsMsgBoxPlusTinker.html:13 Uncaught TypeError: Cannot read property 'document' of null
at myFunction
And I can't see my error,
need help from someone with better eyes than me, Thanks:
<!DOCTYPE html>
<html>
<title>file:///C:/vmars.us/javascript/SimpleGame-js/ClaustrophobiaGame/jsMsgBoxPlusTinker.html
</title>
<body onload = "myFunction()">
<p>Click Button to open a msgBox</p>
<button onclick="myFunction()">msgBox</button>
<script type = "text/javascript" >