Cross-Browser Mouse Click Handler

Since Internet Explorer and Mozilla/Firefox handle events somewhat differently, I put together this simple code to handle the issue. Click anywhere on the page with the left, right, or center button. The script will detect the type of click and report the results in an alert box.


You can copy the page html from the textarea below and save it to your local system.