hi, i am wasting a lot of time dinking around with the alert method to see where i am going wrong in my js (i am new). are there any (preferably free) programs that pin point exactly where stuff is goin wrong if a page isnt working properly? thanks for any suggestions
If you're using Firefox for development, which you should, you can use the error console extension. It will pinpoint all js syntax errors. Alerts are still a good way to find logic errors. cheers, gary
In addition Firebug is also an excellent extension and has a very friendly DOM inspector. Also for logging, you may want to try this: http://alistapart.com/articles/jslogging