Using Alert to Debug your Script
Thursday, March 27th, 2008While most browsers now come with either a built-in JavaScript debugger or have a debugger available as an add-on to the browser, sometimes it is just simpler to debug your script the old fashioned way by commenting out parts of the script and by adding alert statements at various points in the code.
