How do I debug javascript when using Mozilla

phillydog

Senior member
Dec 19, 2001
472
0
0
I have a menubar on my webpage that works using IE 5+ and NS 6+, but not using Mozilla 1.7 or Firefox.

I would like to debug this issue. If it helps, Mozilla 1.7 shows up as "Netscape Communicator 5.0" when I got to a site that identifies my browser.

The code that I believe is not getting parsed is:

if(document.layers) return dropit(event, 'document.dropmenu2')

Reading, it appears that Mozilla uses a DOM whatever that is.