I have a table with multiple rows which contain form inputs (checkboxes, text, dropdowns). When I click save I want to be able to get JSON representing each table row which will be used in an AJAX request. Each row has an id on it so I would like to get back something like this:
[1: { "input_name":"input_value", "input_name":"input_value", etc...}, 2: {etc...}]
With those numbers being the id of the table row.
Any way to do this?