Tyler
Tyler

Reputation: 3813

How can I view the source IE refers to when it gives JS errors?

IE keeps telling me to look on line 1 char 98, but it's for an iframe, so I can't right click and do view source, because nothing pops up. It keeps giving me js errors but I have no freaking idea where to find them. The link it gives is worthless because I can't select it and it's too long to retype, besides it probably has js that will redirect back into the iframe. I'm getting so sick and tired of dealing with IE's crap.

Upvotes: 1

Views: 3677

Answers (2)

Shamit Verma
Shamit Verma

Reputation: 3827

Download IE Developer toolbar. After this, select "View Generated Source". This would show JS code that is actually being executed. This includes JS code injected at runtime.

Download URL : http://www.microsoft.com/downloads/en/details.aspx?FamilyID=95e06cbe-4940-4218-b75d-b8856fced535

Upvotes: 0

Josh M.
Josh M.

Reputation: 27781

Press F12 and view the console tab, it should give you more information and you can even debug the code. You should be able to double click an error to go to the line in question.

Upvotes: 1

Related Questions