Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Troubleshooting scripts with IE

Status
Not open for further replies.

Ghodmode

Programmer
Joined
Feb 17, 2004
Messages
177
Location
NZ
I have several pages dynamically generated with Perl. They all work without errors in Firefox, but I need them to work in IE. On Firefox, I use the JavaScript Console extensively, but there doesn't seem to be anything useful in IE.

Double-clicking on the alert icon in the lower left-hand corner will give me an error message, a line number, and a character number, but that doesn't correspond to anything meaningful in either the actual source file (of course), or the "view source".

Some meaningless error messages:
Error: Expected ';' ...
I'm not missing semi-colons on any lines in any of my code that I can find. If I was, FF would also catch the problem.

Error: Object doesn't support this property or method.
This one does make sense. I develop my pages under FF mostly and the DOM is interpreted differently by MS, but I need to know what object and what property/method isn't understood.

Can anyone offer any advice?

--
-- Ghodmode
 
You have a pre-formed cliche idea on debugging on ie that makes you unable to calmly debug using ie's error message. It is not as good as ff, granted, but it is still useful to start debugging. You just have to get used to the way it alert. Before ff, script on ie still debuggable. Why don't you just do not take that pseudo-wisdom to the letter and objectively look at the source-view script and see what ie might not like. Or post part of the source-view script and see what can be done.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top