Saving DOM changes

I posted in the JavaScript forum, but after more searching it seems I need to look into PHP OOP to help me out.

In a nutshell, how can changes to the DOM tree made by JavaScript be saved thus changing the actual HTML source (if even possible)?

Thanks :slight_smile:

One fairly simple method would be to read document.body.innerHTML and post it back to the server.

Thanks for the help, TomB :slight_smile:

I actually found this article that utulizes the jQuery UI-Sortable’s built-in serialize method. I used it to send the changes via a GET Ajax call and directly into a central MySQL database that has all the links involved.

Took me a few minutes to translate that into English when I first read it (: