Use JSLint.
It really helps with this issue, and all other JS issues.

http://www.jslint.com

Kirk Cerny

On Wed, Sep 16, 2009 at 6:26 PM, Al Byers <[email protected]> wrote:
> Switch to IE8 if you haven't. It has a decent debugger and it has an IE7
> compatibility mode so you can run it as if it were IE7. I had the same
> problems with IE, but now I don't consider it a big problem - it is not as
> good as Firebug, but it is close.
>
> -Al
>
> On Wed, Sep 16, 2009 at 5:24 PM, Wade Preston Shearer <
> [email protected]> wrote:
>
>> I'm at my wits end. I can't tell you how much time I have wasted on this. I
>> have a bunch of javascript that is running flawlessly in every browser
>> except IE. Are there tricks for debugging javascript in IE that I'm not
>> aware of? I've been trying to use DebugBar and Firebug Light, but they are
>> barely providing any better error reporting than IE's ridiculous built-in
>> script error on-liners.
>>
>> All I get is "Invalid argument" and a line number that is obviously not an
>> issue.
>>
>> _______________________________________________
>>
>> UPHPU mailing list
>> [email protected]
>> http://uphpu.org/mailman/listinfo/uphpu
>> IRC: #uphpu on irc.freenode.net
>>
>
> _______________________________________________
>
> UPHPU mailing list
> [email protected]
> http://uphpu.org/mailman/listinfo/uphpu
> IRC: #uphpu on irc.freenode.net
>

_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to