javascript - On Success in Jquery load the div -


i have jquery code :

function delete_buyer(val) {   $.ajax({     type: "post",     url: "ajax_delete_supplier.php",     data: 'id=' + val,     success: function(data) {       $("#msg").html(data);       $("#pks1").load("buyer_details.php");     }   }); } 

jquery.min.js:4 [deprecation] synchronous xmlhttprequest on main thread deprecated because of detrimental effects end user's experience. more help, check https://xhr.spec.whatwg.org/.

where if result success table reloaded/refreshed. div not getting refreshed.

can me out went wrong, thank you!


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -