Creating a datatable with a change on drop down function using Jquery

Creating a datatable with a change on drop down function using Jquery

dkhooverdkhoover Posts: 1Questions: 1Answers: 0

Hello, i'm having an issue where if I create the table, but I have to call $('#table').dataTable().fnDestroy(); or i'll get the initialize error. After I add that the drop down works, but when I click to add an item in the table to the database, then change the table on a drop down seems like the previous items still exist, because it adds the old item, then the new item to the database.

This discussion has been closed.