Answer the question
In order to leave comments, you need to log in
Is it possible to run JavaScript in the background in the phone's browser?
We have a banal script:
(function() {
var $container = $('#container');
$(function() {
var digit = 0;
setInterval(function() {
digit += 3;
$container.append(digit + "</br>");
}, 3000);
});
})();
Answer the question
In order to leave comments, you need to log in
no, js background work is not possible, it makes sense to check the time from the start of the timer by interval and adjust the value.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question