How to get data out of backgrid js and submit it in a form submit?

303 views Asked by At

How to extract JSON data that I've already displayed in a grid using backgridjs, to submit via form post submit?

1

There are 1 answers

0
Y.H Wong On

collection.toJSON() will return all the data in a hash. You can turn it into form encoded key values pairs and submit that via Ajax. jQuery and Underscore has all the methods you need to achieve that.