Код: Выделить всё
Код: Выделить всё
data.forEach((element) => {
const rateId = element.id;
jQuery('NEED dymanic ID from div').find(".rating__value").text(need to insert data of const rateId);
setRatingActiveWidth();
});
Подробнее здесь: https://stackoverflow.com/questions/784 ... -id-jquery
Мобильная версия