How can we use the javascript to keep the sequence numbers in order after deleting?
Answers
Answered by
0
I'm making an invoice in which order has more than one product order detail table which has number of product column sequence no. for each added product row by user, when user add some product detail rows in it the number of product column sequence auto update by this code:
var n = $(".detail tr").length-0)+1; var tr = '<td class="no">'+ n +'</td>'
var n = $(".detail tr").length-0)+1; var tr = '<td class="no">'+ n +'</td>'
Similar questions