I need to add a new form to store graph information everytime the button is clicked.
Everytime I click the button I should get the Div to increment by 1 so that the new information can be stored in the database with a unique id.
.jumbotron{
width:1000px;
height:100px;
background-color:lightblue;
}
<form action = "" method = "post">
<input type = "submit" name = "submit" value = "Add a new form">
</form>
<div class = "jumbotron">
First Name: <input type="text" name="firstname"><br>
Last Name: <input type="text" name="lastname"><br>
</div>
Refer here: https://jsfiddle.net/rk6eyym6/
Auto Increment. And what's up with those two inputs having the samenametags?