95% emitting CopyPlugin ERROR in src/app/Pages/part-compare/part-compare.component.ts(25,38): error TS2339: Property 'rows' does not exist on type 'HTMLElement'. src/app/Pages/part-compare/part-compare.component.ts(27,26): error TS2339: Property 'rows' does not exist on type 'HTMLElement'.
var table = document.getElementById("CompareParts"); for (var i = 1, row; row = table.rows[i]; i++) { for (var j = 0, col; col = row.cells[j]; j++) { var Cell = table.rows[i].cells this.ACells.push(Cell); } } this.length=this.ACells.length for (var x = 0; x < this.ACells.length; x++) { this.ARows.push(this.ACells[x]);
getElementById
HTMLTableElement
var table = <HTMLTableElement>document.getElementById("CompareParts");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)