Save data stored in table in array

Save data stored in table in array

Dear All

I have following table and want to save data(update database)  when clicked on save button using JQUERY  

This being in array I was confused as how to access the values in