Inline Edits With PHP/AJAX
Markup
Editable container
- Add a `<td>
or<div>container as a container for the inline edits.- The container's content is changed to accommodate the edits, but not the container itself.
Assign the container a class that will serve as a selector for inline edits. Something likestatus-cell,in-stock-cell,access-cell, etc.The container has adata-id` attribute with the parent record's id as its value.