I'm having a problem submitting a jQuery form, the submit was to be done only by a button but I have two in the form, and the submit is done by the two. how to solve this problem ??
<script type="text/javascript">
$(document).ready(function() {
$('#resultados').hide();
$("#formulario").submit(function() {
$('#resultados').show();
$('#resultados').html("resultados");
return false;
});
});
</script>
<div id="resultados"></div>
<form method="POST" id="formulario" action="">
<input type="submit" value="enviar" id="botao_enviar" name="enviar">
<button>outro botão</button>
</form>