uncaught exception: Syntax error after jQuery upgrade


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?


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.


  • Mediawiki API error: Unrecognized value for parameter 'prop': extracts
  • Python argparse Optional argument only works when it's entered in the right positions
  • java.lang.ClassFormatError
  • How to specify c++0x flag on cent os
  • help with openmp compilation problems
  • update date value in oracle
  • compare two NSDate fails
  • Can't add target for UIButton - unrecognised selector sent to instance, despite method been in
  • KoGrid JSON Dynamic widgets, with nested server calls
  • Cleave.js Phone CA
  • jQuery file download plugin
  • Understanding Intl.DateTimeFormat as a JavaScript object
  • Microsoft Excel Pivot miscalculation in Sum for positive and negative numbers
  • Problems with toDataURL HTML5 other ways to get canvas data?
  • CSS - Cannot get one spanned style to override another inherited style and align left
  • NUnit 3.0 TestCase const custom object arguments
  • Plotting line graph with factors in R
  • Suppressing passwd when calling sqlplus from shell script
  • Can you perform a UNION without a subquery in SQLAlchemy?
  • Chrome doesn't support silverlight anymore? How to solve this?
  • Google Custom Search with transparent background
  • NHibernate Validation Localization with S#arp Architecture
  • FFmpeg Conversion Error
  • How can I send an e-mail from a vbs script
  • Insert into database using onclick function
  • Display issues when we change from one jquery mobile page to another in firefox
  • Ajax jQuery multiple calls at the same time - long wait for answer and not able to cancel
  • Why is the size of this struct 32?
  • What is Eclipse's Declaration View used for?
  • Accessing IRQ description array within a module and displaying action names
  • Can I make an Android app that runs a web view in Chrome 39?
  • Can a Chrome extension content script make an jQuery AJAX request for an html file that is itself a
  • Upload files with Ajax and Jquery
  • How to pass list parameters for each object using Spring MVC?
  • Proper way to use connect-multiparty with express.js?
  • Hits per day in Google Big Query
  • FormattedException instead of throw new Exception(string.Format(…)) in .NET
  • Getting Messege Twice Using IMvxMessenger
  • Linking SubReports Without LinkChild/LinkMaster
  • XCode 8, some methods disappeared ? ex: layoutAttributesClass() -> AnyClass