Jquery delay not working correctly

后端 未结 4 1622
南旧
南旧 2021-01-28 23:46

I want to create a delay between these two messages:

$(\'#submit-account\').html(animation + \'Submitting Data\')
$(\'#submit-account\').html(animation + \'Valid         


        
4条回答
  •  攒了一身酷
    2021-01-29 00:19

    I'm not sure if i'm understanding it precisely or correct but there's a Default Built in JavaScript setTimeOut(); Function.

    For more info :How to wait 5 seconds with jQuery?

提交回复
热议问题