I have a page with some products.
So I want to update all the divs that contain the prices of these products every x seconds.
I use prototypejs but any help will be helpfull.
<div id=“product”>
<img src=“photo”/> title 1<br>…
<div id=“product1”>10.00</div>
</div>
<div id=“product”>
<img src=“photo”/> title 2<br>…
<div id=“product2”>11.00</div>
</div>