I have a submit button to send a form and go to another page:
<button type="submit" id="btnlog" class="btn btn-lg" value="" >Ingresar</button>
and by disabling the button with jquery
$('#btnlog').click(function () {
$('#btnlog').attr('disabled', true);
});
does not load the other page that should go, if I remove the action jquery of the button works perfect and takes me to the other page