I have a nested Array which has two Arrays:
 var People = [
    {
      Name: "John",
      Age: "42",
    },
    {
      Name: "Peter",
      Age: "78",
    }
  ];
With an input field and a button I want to look now for the element, for example I type in "John" into the input field and click on the button. After that it should output the Array that has "John" in it.
How can I do that? And is it possible to output the Array to different input fields (name element and age element in two different input fields)?
Thank you very much!
 
    