相关文章推荐
无聊的板凳  ·  sentences 函数 - Azure ...·  1 年前    · 
忐忑的爆米花  ·  Mybatis ...·  1 年前    · 
温文尔雅的蘑菇  ·  COUNT (Transact-SQL) ...·  1 年前    · 
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' .
How to solve this error please ?
What I have tried:
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]);
  • Read the question carefully.
  • Understand that English isn't everyone's first language so be lenient of bad spelling and grammar.
  • If a question is poorly phrased then either ask for clarification, ignore it, or edit the question and fix the problem. Insults are not welcome.
  • Don't tell someone to read the manual. Chances are they have and don't get it. Provide an answer or move on to the next question. Let's work to help developers, not make them feel stupid.
  •