ways of debuggin js in dhtml without using alert()! (programs?)

Discussion in 'HTML & Website Design' started by shabam, Nov 27, 2006.

  1. #1
    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
     
    shabam, Nov 27, 2006 IP
  2. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #2
    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
     
    kk5st, Nov 27, 2006 IP
  3. AdamSee

    AdamSee Well-Known Member

    Messages:
    422
    Likes Received:
    28
    Best Answers:
    0
    Trophy Points:
    135
    #3
    AdamSee, Nov 27, 2006 IP