Home  >  Article  >  Web Front-end  >  JavaScript method to get the value of a column in a table_javascript skills

JavaScript method to get the value of a column in a table_javascript skills

WBOY
WBOYOriginal
2016-05-16 16:49:331700browse

1、实现源码

复制代码 代码如下:





JavaScript实现获取table中某一列的值







































































学号 姓名 性别 年龄
1 李斯 22
2 王倩 20
3 于谦 18
4 柳浪 19
5 诸葛亮 20
6 东方云 21
7 公孙策 22
8 宝清 23
9 智育 20
10 柳丝丝 21




2、设计结果

(1)初始化时
JavaScript method to get the value of a column in a table_javascript skills 
(2)单击第二列时
JavaScript method to get the value of a column in a table_javascript skills
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