title: jQuery 1.8.0-min Syntax error, unrecognized expression
body: <p>I've got a jQuery star rating that works perfectly with jQuery 1.7.2 but returns a syntax error when using jQuery 1.8.0.  Here's the script:</p>
  
  <pre><code>/* ====== STAR RATING ========= */
      jQuery(".stars.active a.star").hover(
          function(){
              var elemID = jQuery(this).parent('.stars').attr('id');
              elemID = elemID.replace('id-', '');
  
              if (od_readCookie('voted-'+elemID) == 'TRUE') {
                  jQuery(this).siblings('.ty').html('You already voted.');
              } else {    
  
                  var theClass = jQuery(this).attr('class');
                  theClass = theClass.match(/^s[0-9]/);
                  var starNum = theClass[0].replace('s', '');
                  var allClasses = '';
                  for(i=1;i&lt;=starNum;i++) {
                      allClasses += ' .s'+i+', ';
                  }
                  jQuery(this).parent('.stars').children('.star').addClass('nogold');         
                  jQuery(this).parent('.stars').children(allClasses).addClass('hover');
              }
          },
          function(){
              var elemID = jQuery(this).parent('.stars').attr('id');
              elemID = elemID.replace('id-', '');
  
              if (od_readCookie('voted-'+elemID) == 'TRUE') {
                  jQuery(this).siblings('.ty').html('');
              } else {            
                  jQuery(this).parent('.stars').children('.star').removeClass('nogold');                  
                  jQuery(this).parent('.stars').children('.star').removeClass('hover');
              }
          }
      );
  
      // actually add the rating
      jQuery(".stars.active a.star").click(function(){
          var elemID = jQuery(this).parent('.stars').attr('id');
          elemID = elemID.replace('id-', ''); 
  
          if (od_readCookie('voted-'+elemID) != 'TRUE') {
  
              var theClass = jQuery(this).attr('class');
              theClass = theClass.match(/^s[0-9]/);
              var starNum = theClass[0].replace('s', '');
  
  
              // keep the marking while rating updating
              var allClasses = '';
              for(i=1;i&lt;=starNum;i++) {
                  allClasses += ' .s'+i+', ';
              }
              jQuery(this).parent('.stars').children('.star').addClass('nogold_voted');           
              jQuery(this).parent('.stars').children(allClasses).addClass('hover_voted');
  
              jQuery(this).siblings('.ty').load('/od/wp-admin/admin-ajax.php?action=od_add_vote&amp;id='+elemID+'&amp;rating='+starNum);
          }
  
      });
  </code></pre>
  
  <p>I'm not affluent with jQuery, so can anyone shed a bit of light and what exactly is causing the problem?</p>