metti un setTimeOut(funzione(), 1000)

1000 = 1 secondo