Hello, When using the normal file not thes .min I get this error
setElTop is not defined : setElTop(getTop); line 179: col 7
if (getTop - elH >= 0 && getTop + elH <= cH) {
setElTop(getTop); // at This line
Also why WaitMe doesn't allow javascript to be execute before closing it ? example :
submitHandler: function(form) {
run_waitMe();
//th **('.form-horizontal').submit(function(e)** after run-waitMe() is not executed
//If I add $('.wrapper').waitMe('hide'); the code will be excuted.
$('.form-horizontal').submit(function(e){
console.log("insideTheForm");
var $form = $(this);
e.preventDefault(); //keeps the form from behaving like a normal (non-ajax) html form
var url = $form.attr('action');
var formData = {};
//submit a POST request with the form data
$form.find(':input').each(function()
{
formData[ $(this).attr('name') ] = $(this).val();
});
//submits an array of key-value pairs to the form's action URL
$.post(url, formData, function(response) {
//handle successful validation
console.log("closeWaitME");
$('.wrapper').waitMe('hide');
...
}).fail(function(response) {
//handle failed validation
$('.wrapper').waitMe('hide');
console.log("Failed");
});
});
}
Hello, When using the normal file not thes .min I get this error
Also why WaitMe doesn't allow javascript to be execute before closing it ? example :