get only certain tr elements not all in 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");