Answers for "html table increase serial number"

0

html table serial number

var addSerialNumber = function () {
    $('table tr').each(function(index) {
        $(this).find('td:nth-child(1)').html(index+1);
    });
};

addSerialNumber();
Posted by: Guest on January-26-2021

Browse Popular Code Answers by Language