professional-javascript-14-DebugExample.htm / htm
<html> <head> <title>Debug Example</title> <script type="text/javascript"> function test_function() { alert("Entering function."); var iNumber1 = 5; var iNumber2 = 10; alert("Before calculation."); var iResult = iNumber1 + iNumber2; alert("After calculation."); alert("Leaving function."); } test_function(); </script> </head> <body> </body> </html>
(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.