I have an object with information. I want to be able to create multiple of the same 2 input fields in html based on the object's number in a specific attribute.
So if the object contains the number 4, i want to write these 2 lines, 4 times.
<input type="text" placeholder="Enter First Name" />
<input type="text" placeholder="Enter Last Name" />
Is there any easy way to do that in javascript/jquery?