javascript get all rows in tbody code example
Example: javascript select all table rows
const rows = document.querySelectorAll("table > tbody > tr");
// OR
const Allrows = document.querySelectorAll("tr");
const rows = document.querySelectorAll("table > tbody > tr");
// OR
const Allrows = document.querySelectorAll("tr");