Is it possible to automatically execute a function 3 seconds after pushing a button? The code snippet below should do the job:
button.onclick = setTimeout(yup,3000);
The function being called is named yup. After the initial button click, the function triggers as expected. However, subsequent clicks do not seem to have any effect. Can you spot what might be causing this issue?