Finally fixed the AJAX features for the Name-Value table. Need to fix how the values save next. Note: Don't need to worry about weight values in Element list. The element order will be the same as in $_POST. Only the parents depths will be needed. Gather info about each element from the previous state in the element and rebuild an array using this info, reordering it based on the $_POSTed order/depth.