510251
Ano: 2018
Disciplina: TI - Desenvolvimento de Sistemas
Banca: UFMT
Orgão: Pref. Várzea Grande-MT
Disciplina: TI - Desenvolvimento de Sistemas
Banca: UFMT
Orgão: Pref. Várzea Grande-MT
Provas:
Considere o formulário em HTML representado pelo trecho de código a seguir.
<form id="frm-cadastro" method="POST" action="cadastrar-dados.php">
<label for="txt-nome">Nome:</label>
<input id="txt-nome" type="text" name="nome" />
<label for="txt-email">E-mail:</label>
<input id="txt-email" type="text" name="email" />
...
<button type="submit">Cadastrar</button>
</form>
Qual forma NÃO é válida para retornar o valor do campo “nome” do formulário após os dados serem enviados para o script cadastrar dados.php?