I have 2 HTML pages and each one has buttons, on the second page there are several text boxes and I would like that when the user clicks on the first HTML page he will go to the second page and hide the button;
Then when all fields in the text box are filled, the button reappears. I already have this.
Page 1:
<a href="Pagina2.html">
<button type="button" id="criar">Criar plano de estudo</button>
</a>
Page 2:
<input type="text" name="nome" id="antecedencia" placeholder="Dias de antecedencia">
<input type="date" id="datadometodo" ><br><p></p>
<div id="disciplina"> </div>
<input type="text" name="nome" id="duracaopordia" placeholder="Duração em horas"/><br><p></p>
<input type="text" name="nome" id="metododeavaliaçao" placeholder="Nome do método"/><br><p></p>
<a href="Pagina1.html">
<button type="button" id="concluir">Concluir</button>
</a>
That is:
I want to use Jquery
to hide the button with id="concluir"
that is in the 2nd page, when I press the button with id="criar"
that is in the 1st page and that the button with id="concluir"
only appears when all the inputs of the second page are completed.