hiding one form and displaying another with a button

79 Views Asked by At

I have multiple forms in one html. The CSS for those forms hides all but the first (form1) there is a button on each form that saves the form and I would like it to then show the next form (form2) only. And so on and so forth. I apologize in advance for not displaying my code. I have no internet except for on my phone. Any help would be appreciated.

1

There are 1 best solutions below

0
On
$("#hide").click(function(){
$("p").hide();
});

$("#show").click(function(){
$("p").show();
});

You can use button onclick event

You can refer W3Schools