title: How to get required Object from JavaScript array Object
body: <p>I have created an array of objects which is given below. I want that if I would like to get value from the object which is at any index. When I alert the object using following code it does show start character of the object.</p>
  
  <pre><code>&lt;script&gt;
      var products = {
          DiseaseType: "Respiratory",
          Pathogens: "Actinobacillus   pleuropneumoniae",
          Product: "DRAXXIN® Injectable Solution (tulathromycin)",
          RouteofAdministration: "Injectable",
          DiseaseType: "Respiratory",
          Pathogens: "Actinobacillus pleuropneumoniae",
          Product: "DRAXXIN® 25 Injectable Solution (tulathromycin)",
          RouteofAdministration: "Injectable",
          DiseaseType: "Respiratory",
          Pathogens: "Actinobacillus pleuropneumoniae",
          Product: "EXCEDE® For Swine Sterile Suspension (ceftiofur crystalline free  acid)",
          RouteofAdministration: "Injectable"
      };
  
  
  alert(products.DiseaseType[0]);
  &lt;/script&gt;
  </code></pre>