for loop for increment id of div in jquery

67

for (let i = 0; i < 6; i++) {
  $(`#my_id_${i}`).val('test');
}

Comments

Submit
0 Comments