Edit button, delete in a list made in HTML?

1

I know that it is much easier to use framesworks and specific technologies for web development like Angular.JS, ZEND, Java EE, etc. But I'm developing a CRUD system using the least possible "facilities."

For a system using only Javascript and PHP programming languages what would be the best practice to associate the Edit and Delete button with its corresponding record? I had the idea of putting a Code column in the list screen for each record, and so when clicking one of the buttons, it takes the registry code that is in the same line as the HTML TABLE (using JS), but this would be a good practice? would you have other ways to do this?

    
asked by anonymous 19.11.2017 / 16:40

0 answers