Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

html table serial number

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

addSerialNumber();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #html #table #serial #number
ADD COMMENT
Topic
Name
9+5 =