How do I determine what line of my javascript is causing this error in IE, when the console reports the bug is in jquery -


i have complex web application working in modern web browsers , ie10. i'm testing in older versions of ie7 , running bug stops page loading. error can see on screen is:

 script5022: syntax error, unrecognized expression:    jquery.min.js, line 3 character 14659   

which points to:

{throw new error("syntax error, unrecognized expression: "+a)} 

i have no idea part of javascript triggering this. code base huge don't know begin. there tricks or standard methods me? no errors or problems reported in chrome, firefox, safari (latest versions) or ie10. using ie10 in ie 7 mode... problem persist in ie 7 ran in virtual machine.

thanks.

edit: running jquery 1.7 source: http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js

if codebase big step through until find jquery-operation leads error, try searching jquery-selectors tab-character.

i had same problem (in ie7 only) when using jquery 1.7.1. found selector contained tab-character (in middle of selector) , once removed, well.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -