title: How to extract individual object from an ajax callback
body: <p>I am getting back the following from an AJAX call which exactly matches the syntax in my manual:               </p>
  
  <pre><code>    var data = {        
      coach100:   {
          PID: '23169',
          POrt: '11'
          }, 
  
      coach200:   {
          PID: '23170',
          POrt: '11'
          } 
          };  
  </code></pre>
  
  <p>Now I want to extract one piece of data. The manual syntax is:</p>
  
  <pre><code>    data.coach100.PID  
  </code></pre>
  
  <p>but the Firebug console says: "TypeError: data.coach100 is undefined"</p>
  
  <p>How to format the data in the variable "data" so that it can be extracted using dot syntax?</p>