I have an html table which is populated with data through ajax/jquery and php. So far, I've made an insert/select functionality to the website.
Now I want to add update/delete. I was thinking of adding buttons to each results row with value=table_column_id then populating empty textboxes if the user clicks the "EDIT" button or throwing a dialog asking for confirmation if the user clicks the "DELETE" button.
Is this a good idea or is there a better way? If so, can you explain how