title: Phonegap 2.9.0 developing in Xcode: Error: TypeError: 'undefined' is not a function in file
body: <p>I keeping getting a debug error code outputting to the Xcode console when I try and click on the row in question and kick off the event listener.</p>
  
  <p>Error Message in full (long file path removed to keep it clean): </p>
  
  <blockquote>
    <p>Error: TypeError: 'undefined' is not a function in file:///Users/....../index.js at line 1339</p>
  </blockquote>
  
  <p><em>1339 is first line of code block displayed.</em></p>
  
  <p><strong>Code:</strong></p>
  
  <pre><code>        $("#contact-list").on("click", "a", function(event){
          event.preventDefault();
          var me = this;
          console.log('The event listener is working');
  
          var phoneNumber = me.attr('id').text();
          console.log('phoneNumber is being sent');
          if (phoneNumber.substr(0, 1) == '+') {
              phoneNumber = me.userExitCode + phoneNumber.substr(1);
          }
          phoneNumber = phoneNumber.replace(/[^0-9]/g, '');
  
          var data = {
              'name': me.children('h3').val(),
              'phone_number': phoneNumber,
              'part': 'contact'
          };
  </code></pre>