Answers for "jquery get data from first column of table"

0

jquery get data from first column of table

var arr = [];
$("#ItemsTable tr").each(function(){
    arr.push($(this).find("td:first").text()); //put elements into array
});
Posted by: Guest on February-26-2021

Code answers related to "jquery get data from first column of table"

Code answers related to "Javascript"

Browse Popular Code Answers by Language