Home  >  Q&A  >  body text

javascript - How to count the data in the table with JS

How to count the data in the table using JS, and merge the data according to the figure, please ask the master to solve it.

给我你的怀抱给我你的怀抱2711 days ago833

reply all(2)I'll reply

  • 伊谢尔伦

    伊谢尔伦2017-05-18 10:46:45

    Get all tr. Then iterate over tr. Find td in tr and add up

    reply
    0
  • ringa_lee

    ringa_lee2017-05-18 10:46:45

    What is said above is true, traverse to get the data.

    reply
    0
  • Cancelreply