If you are usign jquery then you don't have to loop through each row, you can use jqueries form serialization method as
var str = $( "#formid" ).serialize();
you need to call this statement on click on save button. Hope this will helpful for you.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community