1
I’m trying to read a columna from a table and tap the results with a comma.
For example:
I need the ID column.
then the result would be:
31, 7, 6, 5, 4, 3, 2
 
I tried that way unsuccessfully.
    function table1Id() {
            for(var i = 1; i < table.length; i++)
                var col = table[i].cells[0].innerHTML + ', ';
               document.getElementById("idTable1").innerHTML = col;   
}
						
Possible duplicate of How to calculate a column with a comma as decimal
– Lucas Emanuel
It is not duplicate. But thank you for the attention.
– user2916405
It will be better if you [Dit] the question by adding a [mcve] showing how it has this table.
– Woss