Send front end changes to the back end via the editor save function

I have a HTML table that is updated via JS but only at the front end.

Our developer is based in Spain and charges by the hours, so I wish to avoid using him if possible

Is there a straight forward method to save the front end changes made via JS to the back end programmatically?

I have attempted to replicate the code triggered when you click the editor ‘save’ buttons but that is a bit out of my depth at the moment.

Is this related to XWiki?