jQuery(function($){
$('#upusuario').on('submit', function(){
formulario = $(this).serialize();
Question: How would I get the input senha
and confirmasenha
of this form to compare them, of course without using something like var senha = $("#upusuario input[name=senha]")
since I have already recovered the fields with serialize
?
<input type="text" name="senha" class="form-control bott" required>
<input type="text" name="confirmasenha" class="form-control bott" required>