This example uses the addEventListener() method to attach a click event to the document.
Click anywhere in the document.
Note: The addEventListener() method is not supported in Internet Explorer 8 and earlier versions.