I am trying to upgrade an existing application from jQuery 1.3.2 to jQuery 1.4.2. When I do this, the page fails to load correctly and firefox's error console displays the error message "uncaught exception: Syntax error, unrecognized expression: Syntax error, unrecognized expression: search".
How can I determine what is causing this exception?Answer1:
Set Firebug to break on all script errors, by clicking the icon on the top-left corner of the Console tab.<br /> Next time the error happens, you'll be taken to the relevant line. (You'll need to go up the call stack first, though)
Alternatively, search your script for the word
search inside a selector.