iterating object keys inside array iteration <p><a href="http://jsfiddle.net/guradio/163xq7j3/" rel="nofollow">This</a> is my fiddle of getting all values of input in a table. I am getting the value if and only if on set of data is available I also happened to have <code>add</code> meaning I can add new set of data. My question is how to iterate again through the new added set. Currently I am not iterating to the new set I am only getting the last set of data</p> <p>im using an object to store input values , how can i iterate over this object to store every input value as object key ?</p> <p><code>UPDATE</code></p> <p>Output expected</p> <p><code>[{ "First Name": "John", "Last Name": "Smith", "Middle Name": "Lee", "Suffix": "Jr", "City/Province": "JohnCity", "Town/Municipality": "JohnTown", "Barangay/District": "JohnDistrict", "Contact Number": "8973897923", "Street": "123", "member": "complainant" }, { "First Name": "James", "Last Name": "Harden", "Middle Name": "Lin", "Suffix": "III", "City/Province": "JamesCity", "Town/Municipality": "JamesTown", "Barangay/District": "JamesDistrict", "Street": "123", "Contact Number": "1234123421", "member": "complainant" }]</code></p>