$('input[name="cid[1]"]').val(data);//Assign display inventory code
This can be displayed normally, but it won't work if I modify the values in the array into variables.
$('input[name="cid[$i]"]').val(data);//It cannot be displayed here
How to splice $i here?
学习是最好的投资!