I have a repeater connected to a dataset and it has a text that shows a number, and i added the code to add commas to these numbers and the code works perfectly fine on the first page, however when i click on the second or any other page rather than the first page the code stops working and the numbers stop displaying commas in them
this is the code i’m having an issue with:
$w.onReady( function () {
$w(“#dataset1”).onReady( () => {
For this purpose, onItemReady would be preferable since it runs when each repeated item is created. This code above is running only on the repeated items that show on the first page.