score:1

Accepted answer

I hope this is what do you need

setInterval(function() { $('#thermo').empty(); //add Jquery and this showNewValues(); }, 1000);

https://jsfiddle.net/uhn5bxah/2/


Related Query

More Query from same tag