Refreshing table after performing ajax POST request – Jquery ajax
I am doing a POST request from ajax to python flask like below. function humval(val1,val2){ var dict = {"url":$('#url'+val1).val(),"status":val2}; $.ajax({ url: '/testroutez', contentType: 'application/json;charset=UTF-8', data : JSON.stringify(dict), type: 'POST', success: function(response){ alert('success'); console.log(response); }, error: function(error){ alert('error occured'); console.log(error); }…