topical media & game development

talk show tell print

professional-javascript-14-ExceptionExample.htm / htm

          <title>Exception Test</title>
         <script type="text/javascript">
              function handleLoad() {
              function handleClick() {
      <body onload="handleLoad()">
          <p>Even though an error occurs when the page is loaded, you can still
          click the button and have it work correctly.</p>
          <input type="button" value="Click Me" onclick="handleClick()" />

(C) Æliens 20/2/2008

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.