I have some outdated JavaScript code that surprisingly still works in Internet Explorer from 2000-2002, but refuses to function properly in browsers like Firefox, Chrome, and Opera. I've come across various browser quirks where different browsers interpret things differently. There are snippets of code available online to create browser platform independent functions.
My current issue lies in pinpointing the problems within the code. Right now, there are buttons on the website that trigger actions in IE, but do nothing in Firefox without displaying an error message. When I try to debug using Firebug, the script seems to abruptly stop at a certain point without any indication of an error. This situation is perplexing, and I'm at a loss as to what is causing it or how to resolve it.
So my question is, how can I effectively debug JavaScript to receive error messages identifying issues such as undefined functions/variables or incorrect parameters in browsers like Firefox?
Thanks & Best regards, Marc