get table rows length javascript 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");