title: Select a specific set of JSON Data onClick
body: <p>I have a JSON object, like so:</p>
  
  <pre><code>var facilityDetails = 
      [
          {
          "level": 1, "LocationId": 1, "LocationName": "This is an example of a multi-line ellipsis.This is an example of a multi-line ellipsisThis is an example of a multi-line ellipsisThis is an example of a multi-line ellipsisThis is an example of a multi-line ellipsis", "ParentLocationId": 0, "description": "Test Facility",
          },
          {
              "level": 1, "LocationId": 2, "LocationName": "Facility 2",  "ParentLocationId": 0, "description": "Test Facility",
          },
          {
              "level": 1, "LocationId": 3, "LocationName": "Facility 3",  "ParentLocationId": 0, "description": "Test Facility",
          },
          {
              "level": 1, "LocationId": 4, "LocationName": "Facility 4",  "ParentLocationId": 0, "description": "Test Facility",
          },
          {
              "level": 1, "LocationId": 5, "LocationName": "Facility 5",  "ParentLocationId": 0, "description": "Test Facility",
          }
  ]
  </code></pre>
  
  <p>I am looping through this data to create a list of items dynamically. I would like to make it so that when an item is clicked, the information relative to that specific data set is displayed.</p>