Questions tagged as 'setinterval'

2
answers

Error in JavaScript setInterval

I have a problem, I have performed a function that executes a setInterval . The first time the function was called works correctly (every second) but when I call it several times, the time goes out as if it were executing the setInte...
asked by 01.04.2016 / 18:21
1
answer

How to play an mp3 every x minutes when entering a page

I'm making a player where several music sounds and I want every x minutes, apart from the player, to play a single music without touching any button, only when entering the page, and in those x minutes the music sounds , right now...
asked by 09.11.2018 / 15:18
1
answer

Skip a setInterval

$(function(){ var i = 0; var myVar = setInterval(function(){ $('#numero').html(i); i++; }, 5000); }); <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <di...
asked by 06.04.2018 / 02:52
0
answers

Jquery - Requests from time to time, error 429

I'm doing verification in an interval of time to bring the notifications, the problem throws me the following error: Error : 429 (Too Many Requests) Does anyone know how I can prevent this?    Current code: setInterval(function()...
asked by 18.12.2018 / 20:07
0
answers

How can a PROGRESS BAR of seconds in ionic 3 and angular 5 be done?

The main problem is that it does not show me the dynamically progressPercent variable of the online-game.ts. Hello my problem is that it does not show me the variable in the html as it decreases as I have a setInterval of 60 seconds ... so ev...
asked by 18.03.2018 / 20:25
2
answers

Problem with setInterval. Simon Says

I find the following problem with the SimonSays : I want to make the effect of coloring the box of a highlighted color that you have to press, and the second one to turn to a more subdued color. Through changing id with setAttrib...
asked by 13.12.2016 / 14:09
2
answers

Timer + JavaScript Semaphore

I'm making a timer that is a traffic light. At the moment of entering the values, for example 20 minutes are entered, and the green background should be. When 5 minutes remain, it should change to yellow, and when it is left in 0 min, it should...
asked by 06.10.2016 / 17:42
2
answers

How to continue setInterval after having stopped it

With the first button I want to stop the interval and in the second part to continue the interval, I thought that from where I stayed the increase could continue later ... And now not even stop the first interval <!DOCTYPE html> <...
asked by 03.01.2018 / 12:02
2
answers

How to pause and resume a setInterval in this example?

My question here is how to pause and resume at the interval with a single button. My pause function shows it but it does not work, I want to put false and then pass it to true and when it is true to re-activate the interval, I wanted to do somet...
asked by 03.01.2018 / 16:38
2
answers

Agreagar setinterval to row datatables

How could I integrate a setinterval of 1 sec to this: <div class="table-responsive"> <table id="listado" class="table table-striped"> <thead> <tr> <th>N° PROCESO</th> <th>TECNICO</th>...
asked by 21.11.2018 / 21:13