Inline Edits With PHP/AJAX

From Littledamien Wiki
Revision as of 12:38, 6 September 2014 by Video8 (talk | contribs)
Jump to navigation Jump to search

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 like status-cell, in-stock-cell, access-cell, etc.
    • The container has a data-id` attribute with the parent record's id as its value.