Iterate through HTML table using jQuery, converting the data in the table into JSON

前端 未结 4 535
遇见更好的自我
遇见更好的自我 2020-12-10 09:37

I came across a case where I have to convert an HTML table data into JSON. In this process I have to iterate through the table and convert one by one (row) into an array and

4条回答
  •  温柔的废话
    2020-12-10 10:08

    I wrote a plugin for this, it has a few bells and whistles. Check it out at:

    http://www.fletchzone.com/post/jQuery-Convert-HTML-Table-to-JSON.aspx

提交回复
热议问题