1.表格
2.获取表格数据
let rows = $("#myTable tr")
let report = []
for (let i=1, len = rows.length; i < len; i++) {
let time = $(rows[i]).children()[0].innerText
let value = $($(rows[i]).children()[1]).children()[0].value
report .push({time: time, value: value})
}
3.表格数据
更多推荐
jQuery读取Table表格数据
发布评论