I have this for a success function:
success: function(data){
$('#pleaseWaitDialog').modal('hide');
data = $.trim(data);
if(data == 'true'){
$('#myTab a[href="#intro"]').tab('show');
}
else{
$("#alert").attr('class', 'alert alert-warning');
$("#alert").html('Your Pass Phrase was incorrect! Please try again.');
}
}
How do I delay the $('#pleaseWaitDialog').modal('hide');
from happening for 1200 milliseconds.
I've tried:
$('#pleaseWaitDialog').modal('hide').delay(1200);
But it did nothing.