Because your for()
loop is way over by the time that 500ms timer on your fadeOut()
is done.
You should also not use a global variable for x
. Change it to:
for(var x = 0; x < Number; x++) {
Try using .queue()
around the fadeOut/remove so there's nothing being skipped over.
$(this).parentsUntil('.formRow')
.siblings(ContentValveForm)
.children('div:last-child')
.queue(function() {
$(this).fadeOut(500, function(){
$(this).remove();
});
});