+ 1
What happens when an event handler is set to a setinterval()
I came across a program which had the event handler for a onfocus event as setinterval(change,1) so, here, once the focus is taken away from the element, will the function change be called or will it become deactivated somehow?
1 Answer
0
setInterval(functionwithoutbrackets,time) repeats the function every (time) milliseconds