Uncaught TypeError: Cannot read property 'className' of undefined

后端 未结 7 1753
春和景丽
春和景丽 2020-12-31 00:14

The following error is being thrown in Google Chrome\'s developers tools:

Uncaught TypeError: Cannot read property \'className\' of undefined

7条回答
  •  抹茶落季
    2020-12-31 00:32

    The other answer put me on the right track.

    More succinctly, the error was that the table I was creating was incorrect.

    My header columns (inside a thead of course), did not match up with my row columns (inside the tbody)

    In my situation, I had too many columns inside the header.

提交回复
热议问题