I have a data table that is populated on page load with links to open a modal. When the modal is filled out and the user clicks Submit, I have a function that works. On success, I need to open a confirmation modal, this works. And then I need to reload the data table. This is the part I'm stuck on. I've tried several possible ways, the div that I am requesting to reload contains no data and I receive an error for the data table that is does not contain any data.
Can someone send an example of where they have done something similar as far as reloading a datatable? Thank You!
Our community of experts have been thoroughly vetted for their expertise and industry experience.