I want to create a delay between these two messages:
$(\'#submit-account\').html(animation + \'Submitting Data\') $(\'#submit-account\').html(animation + \'Valid
I think that problem is because delay() only delays item(s) in a queue (jQuery queues automatically only animations). So try to modify fade function to fadeIn(0) and jQuery will interpret it as animation and now delay should works.
delay()
fadeIn(0)