Ajax reload div

2

I have a page that displays with Ajax database information inside the div #addremoveprod, so everything is fine, everything is printing perfectly.

I have also got in a part of the code a function to delete the queries made in the database (also with ajax), which is working perfectly.

asked by anonymous 15.03.2017 / 16:10

1 answer

2

Have you tried putting the same function you used to return the data, in the .ajax that I deleted? No success: function () {} that is empty replace with the same code used in the success of getRequestVouchers  function (data) {         $ .each (data, function (key, value) {....

    
15.03.2017 / 18:55