//in some cases you may get this bug where your message hides immediately toastr.error('Error message here...', { timeOut: 2000 }); return false; //important, so toastr won't fade away immediately, because of any other event following in chain