title: How do I determine what line of my javascript is causing this error in IE, when the console reports the bug is in jquery
body: <p>I have a complex web application which is working in modern web browsers and IE10. I'm testing in older versions of IE7 now and running into a bug which stops the page from fully loading. The only error I can see on the screen is:</p>
  
  <pre><code> SCRIPT5022: Syntax error, unrecognized expression: 
    jquery.min.js, line 3 character 14659  
  </code></pre>
  
  <p>Which points to:</p>
  
  <pre><code>{throw new Error("Syntax error, unrecognized expression: "+a)}
  </code></pre>
  
  <p>I have no idea what part of my javascript is triggering this. The code base is huge so I don't know where to even begin. Are there any tricks or standard methods to help me? No errors or problems are reported in Chrome, Firefox, Safari (latest versions) or IE10. I am using IE10 in ie 7 mode... the problem also persist in ie 7 ran in a virtual machine.</p>
  
  <p>Thanks.</p>
  
  <p>Edit: I am running jQuery 1.7 from this source: <a href="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" rel="nofollow">http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js</a></p>