Jquery - Update database info


I have 10 tabs on my php page.
Each tab contains data related to a specific customer but the data comes from different tables
Before the user moves to another tab, I have added an “Update…” button so the user can update the
modified information before continuing.

Since I need to call jquery a number of times to update different tables, I am a little confused as
the best way to do this.

Do I need to make a function to this?

If someone could help me out setting this up, this would be great

Here is a link to my files: