Help needed with Autosave

Help needed with Autosave

Im using jquery to implement the autosave functionality.

It works fine with one row of text boxes


The problem that im facing right now is when there are multiple rows of text boxes and i have to autosave the data after the user tabs-out every row .

The id's for these text boxes are generated and look like box1, box2 ..... boxn.


How would i write a generic method to handle this scenario