jquery getContext is not a function code example
Example 1: Uncaught TypeError: document.getContext is not a function
<script language="Javascript" type="text/Javascript" src="pong.js" defer></script>
Example 2: document.getElementById(...).getContext is not a function
// .getContext() is a property method of canvas not div or else