I let a user reconfigure the location of a set of rows in a table by giving them ability to move them up and down. The changes are done by swapping nodes in the DOM.
After the user has moved rows around, when I do a view source, I see the HTML in the original state (before the user made any changes).
Can someone explain why that is? My understanding was when we do any DOM operations, the underlying HTML will be changed as well.
EDIT: Does that mean on the server side, when attempt to get the state after user's changes, I will be able to get what I need? I am using C#/ASP.NET. Could it be because this is a HTML table (not ASP.NET Server control), that it's not maintaining the state of the changes?