Hello, I'm trying to move cell values within a three by three table. I have read about the 2D matrix algorithm similar. But I am moving one cell at a time with the click of a button. Is this possible with jQuery or JS? I have the following table:


and I want to click a button to move right like so:


and so on..

this is my HTML:


<button id="moveStuff">Move!</button>

Any help is greatly appreciated.