index.php index.php
<form role="form" id="acceso" name="acceso">
<fieldset>
<label class="block clearfix">
<label class="block clearfix">
<span class="block input-icon input-icon-right">
<input type="password"type="email" class="form-control" id="password"id="email" name="password"name="email" placeholder="Password"placeholder="Correo Electrónico" value="" />
<i class="ace-icon fa fa-lock"><envelope"></i>
</span>
</span>label>
<label class="block clearfix">
</label> <span class="block input-icon input-icon-right">
<input type="password" class="form-control" id="password" name="password" placeholder="Password" value="" />
<div class="space">< <i class="ace-icon fa fa-lock"></div>i>
</span>
</label>
<div class="clearfix">class="space"></div>
<div class="clearfix">
<button id="btn-ingresar" name="btn-ingresar" class="btn btn-lg btn-primary btn-block">Ingresar</button>
</div>
<div class="space-4"></div>
</fieldset>
</form>
login.validate.jslogin.validate.js
$if(msj == 9){
$(form).find('#btn-ingresar').attr("disabled", "disabled").attr("value", "Ingresando...");
$('#alertBoxes').html('<div class="alert alert-success"></div>');
$('.alert-success').hide(0).html('Acceso correcto, ingresando al sistema...');
$('.alert-success').slideDown(timeSlide);
setTimeout(function(){ window.location.href = "home.php?c=index"; },(timeSlide + 1000));
}