I need to populate a json file, now I have something like this:
{\"element\":{\"id\":10,\"quantity\":1}}
And I need to add another \"elemen
if you not design to do loop with in JS e.g. pass to PHP to do loop for you
let decision = {} decision[code+'#'+row] = event.target.value
this concept may help a bit