Help table row edit jQuery: Novice to Ninja

I can get the script from the book to work, but I am kind of new at it and do not know how to grab the variables to update a database with that script after the user makes changes.
I am bring in data from 2 MySQL tables and populating table rows with PHP loops. Could use some help passing values from the jquery to ajax.