title: TypeError: "".match is not a function
body: <p>I have no idea so I am asking here.. I'd like to know how to debug my code in a sense where I can watch it as it runs then see where the break point is exactly.. anyway</p>
  
  <p>Firefox > firebug says: </p>
  
  <blockquote>
    <p>TypeError: "".match is not a function
    <a href="http://domain.com/assets/globals/js/jquery-1.9.1.min.js" rel="nofollow">http://domain.com/assets/globals/js/jquery-1.9.1.min.js</a> Line 3</p>
  </blockquote>
  
  <p>Chrome Console says:</p>
  
  <pre><code>Uncaught TypeError: Object function (e)
  {
      e.preventDefault();
      uri = domainURL + domainSuffix + 'fanAction/';
      var $liElem = $(this).parents('li');
      $.post(uri, {"uid":fmrMembId, "fid":$(this).attr('rel'), "ax":"accept"}, function(data)
      {
          if(data.status == "success")
          {
              $liElem.slideUp().remove();
              var currCount = parseInt($('#friend_request_count').text())-1;
              $('a[href="/fans/requests"] &gt; .menu_badge').text(currCount);
              $('#friend_request_count').text(currCount);
              if(currCount &lt;= 0)
              {
                  $('#friend_listing').empty().append('&lt;li&gt;No Fans Found&lt;/li&gt;');
                  $('a[href="/fans/requests"]').attr('href','/fans');
                  $('a[href="/fans"] &gt; .menu_badge').text('').hide();
                  $('#friend_request_count').text('').hide();
              }
          }
          else if(data.status == "fail")
          {
              alert('Request Failed, this could be due to any number of reasons.')
          }
          else
          {
              alert('An unexpected error occured, try again.')
          }
      }, 'json');
  } has no method 'match'
  </code></pre>
  
  <p>but in the end of it all, I don't see where the problem is here.. I just recently bumped things up from jquery 1.7.1 (or .2) to 1.9.1 and this is the result. Any ideas? Either on what chrome is telling me is the problem, or any means of how I can watch "profile" a scripts runtimes to find out the actual line its breaking at?</p>