I
I
Ilya Famin2020-04-25 09:27:48
JavaScript
Ilya Famin, 2020-04-25 09:27:48

How to make a timer before the file download starts?

You need to make a countdown timer and when its value approaches 0, the download starts (like on this site https://howdyho.net/windows-software/wise-force-de... (try to download something there and you will understand what am I talking about) )

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
anikavoi, 2020-04-25
@anikavoi

https://learn.javascript.ru/settimeout-setinterval
setTimeout on the function showing the download link, setinterval - on the function displaying "remaining ... seconds"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question