Hello! There is a counter and the code below works. Now, judging by the line o.update(v++); +1 is added to the current result every second. Is it possible to make an addition to the random range? Those. sometimes adds + 2 at once, and sometimes +3.
A place where there should be a random number commented.
(function(){ $('.odometer').each(function(){ var v = 100000; var o = new Odometer({ el: this, value: v, format:'', theme: $(this).data('theme') }); o.render(); setInterval(function(){ o.update(v++); // ВОТ ТУТ ДОЛЖНО БЫТЬ РАНДОМНОЕ ЧИСЛО }, 1000); }); })(); Thank you in advance.