Home >Web Front-end >JS Tutorial >Get rowIndex and cellIndex_javascript tips in table

Get rowIndex and cellIndex_javascript tips in table

WBOY
WBOYOriginal
2016-05-16 19:22:431760browse

In IECN, a friend asked how to get the row number and column number of a certain cell in the table. You can use rowIndex and cellIndex to get it.
Please see the code below for the specific effect

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn