For example in the image below as you can see there are input fields that has value , How do we get those inputs including their key and store all in an object ? so that it would have key and value.
for example in the image below the key is FirstName and the value is Lucy. I wanted to get all the data and store all in a single object with key value , any idea guys would be appreaciated. Thank you.